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
Currently when you add a column, it will always be added to the end of the table. However, you often want to group related columns together to ensure that select * queries are more readable and that the column order matches the property order in your application data model.
Solution:
Add support for MySQL's BEFORE and AFTER clauses to createColumnConstraint() method by adding before: column and after: column properties to the column spec.
Because we needed features like this, I eventually opted for a SQL only migration solution so I'm now using this one ... http://mybatis.org/migrations/
Issue:
Currently when you add a column, it will always be added to the end of the table. However, you often want to group related columns together to ensure that
select *
queries are more readable and that the column order matches the property order in your application data model.Solution:
BEFORE
andAFTER
clauses tocreateColumnConstraint()
method by addingbefore: column
andafter: column
properties to the columnspec
.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: