I copied the migrations from another DB into mine. Within database / migrations .
What command do I use on the terminal to run them one by one, ie individually?
I copied the migrations from another DB into mine. Within database / migrations .
What command do I use on the terminal to run them one by one, ie individually?
Attempt the 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, do more:
Running all pending migrations
php artisan migrate
Running all pending migrations for a path
php artisan migrate --path=app/foo/migrations
Running all pending migrations for a package
php artisan migrate --package=vendor/package
Source: migrations