0
I copied the Migrations from another comic to mine. Inside the database/Migrations.
What command do I use in the terminal to run them one by one, that is, individually ?
0
I copied the Migrations from another comic to mine. Inside the database/Migrations.
What command do I use in the terminal to run them one by one, that is, individually ?
1
Try the command or command:
php artisan migrate --path="app/database/migrations/my_single_migration"
Source: Soen: running-one-specific-Laravel-4-Migration-single-file
And looking at the documentation, you can do more:
Running all pending migrations
php artisan migrate
Running all pending migrations to a path
php artisan migrate --path=app/foo/migrations
Running all pending migrations to a package
php artisan migrate --package=vendor/package
Source: Migrations
Browser other questions tagged php laravel
You are not signed in. Login or sign up in order to post.