Laravel exécute une migration unique
php artisan migrate --path=/database/migrations/my_migration.php
Neep Mapeep
php artisan migrate --path=/database/migrations/my_migration.php
php artisan migrate --path=/database/migrations/selected
php artisan migrate:refresh --path=/database/migrations/2021_06_23_093317_create_users_table.php
* To run a specific migration
php artisan migrate:refresh --path=/database/migrations/2019_03_23_165757_create_combined_1553343771_users_table.php
- Note: it will drop the table and create a new one.
php artisan migrate --path=/database/migrations/fileName.php