abortIf($this->connection->getDatabasePlatform()->getName() != "mysql"); $this->addSql( "CREATE TABLE digicomp_sequence_domain_model_insert (number INT NOT NULL, type VARCHAR(255) NOT NULL, PRIMARY KEY(number, type)) ENGINE = InnoDB" ); } /** * @param Schema $schema * * @return void */ public function down(Schema $schema) { // this down() migration is autogenerated, please modify it to your needs $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql"); $this->addSql("DROP TABLE digicomp_sequence_domain_model_insert"); } }