xxxxxxxxxx
php artisan migrate:rollback --step=1 --pretend --path=/database/migrations/2022_01_01_000000_create_example_table.php
xxxxxxxxxx
php artisan migrate:rollback --path=/database/migrations/2022_05_19_130505_create_saleprices_table.php
xxxxxxxxxx
// Steps may contiain multiple tables.. if you want to rollback one table:
php artisan migrate:rollback --path=/database/migrations/your-specific-migration.php
xxxxxxxxxx
php artisan migrate:rollback --step=1 --path=/database/migrations/[migration_file_name].php
xxxxxxxxxx
php artisan migrate:refresh
// Refresh the database and run all database seeds...
php artisan migrate:refresh --seed
xxxxxxxxxx
php artisan migrate:rollback --path=database/migrations/2024_06_11_083018_update_attendance_tbls_table.php
xxxxxxxxxx
php artisan migrate:rollback --path=./database/migrations/your-specific-migration.php