You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Adding a specific size for a string/varchar field will not show in the migration file if the column already exists from another migration.
Expected behavior
The final generated migration in the example above should contain information about the column size (in this case, it should add , size: 255.
** Runtime
Elixir version 1.14.4
Erlang version 25
OS Fedora 28
Ash version 2.9.18
any related extension versions 1.3.28
The text was updated successfully, but these errors were encountered:
Describe the bug
Adding a specific size for a string/varchar field will not show in the migration file if the column already exists from another migration.
To Reproduce
First create the following resource:
Now, generate a migration for it with
mix ash_postgres.generate_migrations
.This should generate the table
my_resources
with theblibs
field as a:text
field.Now, change the resource to this:
And generate a new migration with
mix ash_postgres.generate_migrations
This will generate the following migration:
Expected behavior
The final generated migration in the example above should contain information about the column size (in this case, it should add
, size: 255
.** Runtime
The text was updated successfully, but these errors were encountered: