diff --git a/src/Migrations/.gitkeep b/src/Migrations/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/Migrations/Version20180626065141.php b/src/Migrations/Version20180626065141.php deleted file mode 100644 index bcf4f72c..00000000 --- a/src/Migrations/Version20180626065141.php +++ /dev/null @@ -1,29 +0,0 @@ -abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.'); - - $this->addSql('ALTER TABLE sylius_order ADD custom_total INT DEFAULT NULL'); - $this->addSql('ALTER TABLE sylius_order_item ADD custom_unit_price INT DEFAULT NULL'); - } - - public function down(Schema $schema) : void - { - // this down() migration is auto-generated, please modify it to your needs - $this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.'); - - $this->addSql('ALTER TABLE sylius_order DROP custom_total'); - $this->addSql('ALTER TABLE sylius_order_item DROP custom_unit_price'); - } -} diff --git a/src/Migrations/Version20180709120541.php b/src/Migrations/Version20180709120541.php deleted file mode 100644 index e6ead16d..00000000 --- a/src/Migrations/Version20180709120541.php +++ /dev/null @@ -1,29 +0,0 @@ -abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.'); - - $this->addSql('ALTER TABLE sylius_order DROP custom_total'); - $this->addSql('ALTER TABLE sylius_order_item DROP custom_unit_price'); - } - - public function down(Schema $schema) : void - { - // this up() migration is auto-generated, please modify it to your needs - $this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.'); - - $this->addSql('ALTER TABLE sylius_order ADD custom_total INT DEFAULT NULL'); - $this->addSql('ALTER TABLE sylius_order_item ADD custom_unit_price INT DEFAULT NULL'); - } -}