Support the ongoing development of →
posted 6 years ago
Last updated 2 years ago.

Put the migration file in a new folder. Then you can use the path property on migrate to specify the new location of the migration to run. Once the table is migrated, you can move the migration file back to the usual folder.

php artisan migrate --path=/database/migrations/selected/


Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.