2
我只是想生成一个新的迁移类迁移版本20130915081732已经与阶级学说 DBAL 迁移版本注册
app/console doctrine:migrations:status
[Doctrine\DBAL\Migrations\MigrationException]
Migration version 20130915081732 already registered with class Doctrine\DBAL\Migrations\Version
我config.yml看起来像
doctrine_migrations:
dir_name: %kernel.root_dir%/../src/Project/Migrations
namespace: Project\Migrations
table_name: doctrine_migration_versions
name: Project Migrations
的路径和名称空间是正确的,但此文件夹中已存在迁移(也是版本20130915081732)。 我不知道什么是错,也许你可以帮助我?
谢谢。