Laravel menjalankan migrasi tunggal
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
# If you would like to generate a database migration when you
# generate the model, you may use the --migration or -m option:
php artisan make:model Flight --migration
php artisan make:model Flight -m
php artisan migrate:refresh --path=/database/migrations/2014_10_12_000000_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/full_migration_file_name_migration.php