按照路径来迁移文件运行命令

./yii migrate --migrationPath=console/migrations/finance

原文地址:https://www.cnblogs.com/woshixiaozhu/p/14052660.html