DekGenius.com
PHP
migrate specific table laravel
php artisan migrate --path=/database/migrations/fileName.php
migrate specific migration file laravel
php artisan migrate:refresh --path=/database/migrations/2021_06_23_093317_create_users_table.php
laravel migrate specific file
php artisan migrate --path=databasemigrationsmigrations_filename.php
Migrate a Specific Migration File
$ php artisan migrate:refresh --path=database/migrations/2021_05_01_092040_create_products_table.php
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.
Laravel run a specific migration
php artisan migrate --path=/database/migrations/fileName.php
laravel migrate:refresh specific migration
php artisan migrate:refresh --path=databasemigrationsmigrations_filename.php
migrate specific file laravel
On Mac
php artisan migrate --path=/database/migrations/2022_05_23_231838_create_example_table.php
execute specific migration laravel
php artisan migrate --path=/database/migrations/full_migration_file_name_migration.php
how to run specific migration in laravel
php artisan migrate --path=/database/migrations/my_migrations.php
migrate specific migration file laravel
php artisan migrate --path=/database/migrations/2022_05_19_130505_create_saleprices_table.php
migrate specific file in laravel
php artisan migrate --path=database/migrations/2022_04_18_094156_create_webconfigs_table.php
© 2022 Copyright:
DekGenius.com