xxxxxxxxxx
php artisan migrate:refresh --path=\\database\\migrations\\migrations_filename.php
xxxxxxxxxx
php artisan migrate --path=/database/migrations/my_migrations.php
xxxxxxxxxx
php artisan migrate:refresh --path=/database/migrations/2021_06_23_093317_create_users_table.php
xxxxxxxxxx
* 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.
xxxxxxxxxx
php artisan migrate:refresh --path=database/migrations/create_table_name.php
xxxxxxxxxx
php artisan migrate --path="database/migrations/2022_01_01_000000_create_users_table.php"
xxxxxxxxxx
php artisan migrate --path=/database/migrations/full_migration_file_name_migration.php