php artisan make:migration "my awesome new table"
And just rename the timestamp part to be between those two migrations
@Sinnbeck It means to make the table. Then how do I change the time?
@LoverToHelp Of how to rename a file? RIghtclick it and select "Rename". Change the date/time part with 2023_01_01_191559 and hit enter to save
Thank you dear friend @Sinnbeck it's true . Now I understand what you mean. I was browsing the date in the table๐ ๐
But be aware that it only matters if you havent already migrated (or run php artisan migrate:fresh to start over)
The date part of the file just tells the migrator which order to run the files. Thats all. And it only runs those that havent been run already
@Sinnbeck I always phpmyadmin
I clear the tables and order
php artisan migrate:refresh
I run
@LoverToHelp If you run the command there is no reason to do it in phpmyadmin also :)
@Sinnbeck It gives an error and does not run. I need to clear the tables first / then run the command
Please or to participate in this conversation.