Laravel Specific Table Migration & Seeder

Laravel Specific Table Migration & Seeder

 

Laravel Specific Table Migration & Seeder


Tips for run migration and seeder specific file for Laravel Framework

Migrate

php artisan migrate --path=/database/migrations/fileName.php

Roolback

php artisan migrate:rollback --path=/database/migrations/fileName.php

Refresh

php artisan migrate:refresh --path=/database/migrations/fileName.php

Seeder

php artisan db:seed --class=classNameTableSeeder
Reactions

Post a Comment

0 Comments

close