0

I have a lot of Migrations but I just want to run one. I tried it many times, but every time all the Migrations were run.

lightWay
  • 31
  • 4
  • 2
    Possible duplicate of [Running one specific laravel 4 migration (single file)](https://stackoverflow.com/questions/19102197/running-one-specific-laravel-4-migration-single-file) – Daniel Jul 19 '17 at 08:55

2 Answers2

4

Try this

php artisan migrate --path=/database/migrations/selected/
Nileshsinh Rathod
  • 948
  • 1
  • 17
  • 37
0

put migrations in more folders and run

php artisan migrate --path=/app/database/migrations/new_migrations
Saquib Lari
  • 190
  • 8