diff --git a/Migrations/Mysql/Version20140505093853.php b/Migrations/Mysql/Version20140505093853.php new file mode 100644 index 0000000..0e97b80 --- /dev/null +++ b/Migrations/Mysql/Version20140505093853.php @@ -0,0 +1,33 @@ +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)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci 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"); + } +} \ No newline at end of file