Laravel Tips: Order of Migrations [4]

If you want to change the order of DB migrations, just rename the file’s timestamp, like from

2018_08_04_070443_create_posts_table.php​ to
2018_07_04_070443_create_posts_table.php​ (changed from ​2018_08_04 ​ to 2018_07_04 ​ ).

They run in alphabetical order.