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
Most folks did not see the migration schema dump feature coming. This made lots of us implement data changes inside migrations. When the schema dump/pruning feature was released, it was not usable for lots of apps because of this very reason.
Proposal: a new migrate:cleanup command
The command will create new sub directories in the migrations folder, named per year, and move migration files in the same year to the same directory.
This will achieve a similar result (in terms of cleanup/organization) to shema dumping because several tens or hundreds of migration files can now be nicely tucked inside few yearly subfolders
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Most folks did not see the migration schema dump feature coming. This made lots of us implement data changes inside migrations. When the schema dump/pruning feature was released, it was not usable for lots of apps because of this very reason.
Proposal: a new
migrate:cleanup
commandThe command will create new sub directories in the migrations folder, named per year, and move migration files in the same year to the same directory.
Before:
After:
This will achieve a similar result (in terms of cleanup/organization) to shema dumping because several tens or hundreds of migration files can now be nicely tucked inside few yearly subfolders
Beta Was this translation helpful? Give feedback.
All reactions