Execute migrations from another DB

0

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?

    
asked by anonymous 14.02.2017 / 20:56

1 answer

1

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

    
14.02.2017 / 23:47