Migration Status

If you want to check what migrations are executed or not yet, no need to look at the database "migrations" table, you can launch php artisan migrate:status command.

Example result:

1+------+------------------------------------------------+-------+
2| Ran? | Migration | Batch |
3+------+------------------------------------------------+-------+
4| Yes | 2014_10_12_000000_create_users_table | 1 |
5| Yes | 2014_10_12_100000_create_password_resets_table | 1 |
6| No | 2019_08_19_000000_create_failed_jobs_table | |
7+------+------------------------------------------------+-------+

Like our articles?

Become a Premium Member for $129/year or $29/month
What else you will get:
  • 22 courses (477 lessons, total 38 h 20 min)
  • 2 long-form tutorials (one new every week)
  • access to project repositories
  • access to private Discord