2

新しい移行クラスを生成したいだけです

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 も)。何が悪いのかわからない、多分あなたは私を助けることができますか?

ありがとう。

4

1 に答える 1