简体   繁体   中英

I just want to run a Laravel's Migration

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.

尝试这个

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

将迁移放在更多文件夹中并运行

php artisan migrate --path=/app/database/migrations/new_migrations

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM