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
fix: Use new attribute source in down migration (#604)
closes: #582
When an attribute is renamed, alongside other changes to it (like changing default or not null constraint), the generated up migration first renames the column, then modifies it.
For the generated down migration, the order of operations is reversed, so we need to use the new column name when modifying the column, before renaming it back.
0 commit comments