chore: fix unused variable

This commit is contained in:
Zach Daniel 2023-10-25 08:44:32 -04:00
parent ac1673cf69
commit 9769d995b3

View file

@ -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