This release brings a major new feature in the form of complex migrations that can span multiple tables. When creating tables as well as adding and removing columns, the up
and down
options can now be used to move and transforms data across tables. With this, you can for example move a column from one table to another, or transform a 1:N relationship into N:M, all with zero downtime of course. Check out the examples in the documentation to learn how to use it.
Features:
- Added support for complex changes that span multiple tables to
create_table
,add_column
andremove_column
actions
Improvements:
- Added support for user defined types across actions
Fixed:
- Fixed issue where a migration would continue even if an action failed