我想在我的非symfony项目中使用doctrine迁移,所以我从https://github.com/doctrine/migrations获得了独立的phar .我正确配置了所有内容(db-configuration和configuration),然后在执行"migration:status"时出现错误:
[Doctrine\DBAL\DBALException]
请求未知的数据库类型枚举,Doctrine\DBAL\Platforms\MySqlPlatform可能不支持它.
现在有很多关于如何在symfony应用程序的上下文中修复它的资源(例如http://wildlyinaccurate.com/doctrine-2-resolving-unknown-database-type-enum-requested)但我在哪里可以放这个在这种情况下类型映射?我应该提取.phar,将代码放入其中(在哪里?)然后重新打包它?(怎么样?)
doctrine-orm ×1