Basically, I want to place two different folders in app/database/migrations
folder and load migrations only from one of them
- migrations
- folder 1
- folder 2
And when I running the php artisan migrate
I want it to look into my config/app.php
and determine which files need to be executed. Is it possible?
Yea you can migrate from specific folders. Just add
--path
when you run migration.like:
php artisan migrate --path='database/migrations/folder1'