From 2f08284d15e6014e6db7501a35ef8f0b2391cca2 Mon Sep 17 00:00:00 2001 From: Arkadiusz Krakowiak Date: Mon, 2 Aug 2021 17:19:30 +0200 Subject: [PATCH] [Maintenance] Remove redundant migrations --- src/Migrations/.gitkeep | 0 src/Migrations/Version20180626065141.php | 29 ------------------------ src/Migrations/Version20180709120541.php | 29 ------------------------ 3 files changed, 58 deletions(-) create mode 100644 src/Migrations/.gitkeep delete mode 100644 src/Migrations/Version20180626065141.php delete mode 100644 src/Migrations/Version20180709120541.php 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'); - } -}