Open davehewy opened 8 years ago
Do you mean change the order with regards to the name of the files, so that when they're run somewhere else they will be in a particular order?
So this:
> ls migrations
20151022170753_AddCatsTable.php
20151130143117_AddAnimalsTable.php
becomes:
> ls migrations
20151130143117_AddCatsTable.php
20151022170753_AddAnimalsTable.php
It would be nice to have the ability to re-order migrations.
Sometimes during dev you might find that what made sense, now doesn't make sense, however something you have already done depends on a changed new piece of code.
I know I could remove, delete, or just bodge the mysql table collecting info around migrations but be nice if there was an up and down cmd at the command line or something.