Answers for "run a particular migration laravel table"

PHP
16

migrate specific table laravel

php artisan migrate --path=/database/migrations/fileName.php
Posted by: Guest on February-16-2021
10

how to migrate a specific table in laravel

php artisan migrate --path=/database/migrations/2020_04_10_130703_create_test_table.php
Posted by: Guest on November-14-2020
2

laravel run single migration

php artisan migrate --path=/database/migrations/my_migration.php
Posted by: Guest on January-05-2021
2

how to run a specific migration in laravel

* 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.
Posted by: Guest on May-12-2021
0

execute specific migration laravel

php artisan migrate --path=/database/migrations/full_migration_file_name_migration.php
Posted by: Guest on February-23-2022

Code answers related to "run a particular migration laravel table"

Browse Popular Code Answers by Language