mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 13:33:50 +12:00
chore: fix unused variable
This commit is contained in:
parent
ac1673cf69
commit
9769d995b3
1 changed files with 1 additions and 1 deletions
|
@ -2732,7 +2732,7 @@ defmodule AshPostgres.MigrationGenerator do
|
||||||
defp migration_type(other, constraints) do
|
defp migration_type(other, constraints) do
|
||||||
type = Ash.Type.get_type(other)
|
type = Ash.Type.get_type(other)
|
||||||
|
|
||||||
migration_type_from_storage_type(Ash.Type.storage_type(other, constraints))
|
migration_type_from_storage_type(Ash.Type.storage_type(type, constraints))
|
||||||
end
|
end
|
||||||
|
|
||||||
defp migration_type_from_storage_type(:string), do: :text
|
defp migration_type_from_storage_type(:string), do: :text
|
||||||
|
|
Loading…
Reference in a new issue