I have a long list of migration files and don't want to compare what already ran and what is suppopsed to run next time when I do
php artisan migrate
Is there a way how to display such list ( without actually installing new 3rd party package)?
Better user php artisan migrate:status
This will basically show you the migrations which have been run and which are pending as well
You can use php artisan migrate --pretend
to dump a list of all database queries that would be ran if you would migrate. But there is no command to list the migration files that would be executed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With