Im using Symfony 2.3.1 and I want to deploy my database with DoctrineMigratios but I'm having some troubles on the "up()" function. If I try to execute this example:
$this->addSql("CREATE TABLE User (id INT AUTO_INCREMENT NOT NULL, name LONGTEXT DEFAULT NULL");
$this->addSql("CREATE TABLE User (id INT AUTO_INCREMENT NOT NULL, name LONGTEXT DEFAULT NULL");
I have an error (of course, is the same table) but DoctrineMigrations doesn't execute the rollback and finally I have the "User" table in my database. Don't know if is a problem of my configuration or project, or maybe is a bug of DoctrineMigrations.
Somebody could help me, please?