How to run specific migration in laravel

Sospeter Mong'are - Sep 2 - - Dev Community

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

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .