How to run specific migration in laravel

msnmongare

Sospeter Mong'are

Posted on September 2, 2024

How to run specific migration in laravel

Then you can run php artisan migrate and all NOT migrated migrations will be migrated.

If you created more migrations and they are not migrated yet, to run only a specific migration use this:

php artisan migrate --path=database/migrations/2024_09_02_160123_create_permission_tables.php

💖 💪 🙅 🚩
msnmongare
Sospeter Mong'are

Posted on September 2, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related