phinx --configuration选项发生了什么变化吗?我的工作中有一个项目依赖于它。
phinx文档:如果提供
--configuration命令行选项,--configuration将加载指定的文件。否则,..。
然而,当我跑步时:
$ ./vendor/bin/phinx --configuration=my_config.php
The "--configuration" option does not exist.另外,--version不返回版本号。
Phinx by CakePHP - https://phinx.org.发布于 2020-03-31 15:00:18
结果是在脚本中添加了一个migrate,修复了这个问题,现在它运行良好。
../vendor/bin/phinx migrate --configuration=my_config.php我猜想,在某个时候,它假设如果您运行它而没有迁移,您想要迁移的迁移仍然允许您传递它的选项。
https://stackoverflow.com/questions/60941174
复制相似问题