Search code examples
symfonydoctrinedoctrine-migrations

Command doctrine:migrations:migrate error


I try to migrate my database, when I execute the command

php app/console doctrine:migrations:migrate xxxxxxxxxx

It results this message

Migration xxxxxxx was executed but did not result in any SQL statements.

Can Someone explain me thie message?


Solution

  • The command execute up resolve the problem:

    php app/console doctrine:migrations:execute xxxxxxxxxx up