From ecefd669a28e6592e7772a6640c116647b8628d3 Mon Sep 17 00:00:00 2001 From: Polonkai Gergely Date: Tue, 31 Jul 2012 11:31:35 +0200 Subject: [PATCH] Removed DoctrineMigration versions --- .../Version20120723170354.php | 24 --------------- .../Version20120723170752.php | 26 ---------------- .../Version20120723171539.php | 30 ------------------- .../Version20120723203021.php | 28 ----------------- .../Version20120723204923.php | 28 ----------------- .../Version20120723210859.php | 28 ----------------- 6 files changed, 164 deletions(-) delete mode 100644 app/DoctrineMigrations/Version20120723170354.php delete mode 100644 app/DoctrineMigrations/Version20120723170752.php delete mode 100644 app/DoctrineMigrations/Version20120723171539.php delete mode 100644 app/DoctrineMigrations/Version20120723203021.php delete mode 100644 app/DoctrineMigrations/Version20120723204923.php delete mode 100644 app/DoctrineMigrations/Version20120723210859.php diff --git a/app/DoctrineMigrations/Version20120723170354.php b/app/DoctrineMigrations/Version20120723170354.php deleted file mode 100644 index ce2c935..0000000 --- a/app/DoctrineMigrations/Version20120723170354.php +++ /dev/null @@ -1,24 +0,0 @@ -abortIf($this->connection->getDatabasePlatform()->getName() != "mysql"); - - } - - public function down(Schema $schema) - { - // this down() migration is autogenerated, please modify it to your needs - $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql"); - - } -} diff --git a/app/DoctrineMigrations/Version20120723171539.php b/app/DoctrineMigrations/Version20120723171539.php deleted file mode 100644 index 5fcd31a..0000000 --- a/app/DoctrineMigrations/Version20120723171539.php +++ /dev/null @@ -1,30 +0,0 @@ -abortIf($this->connection->getDatabasePlatform()->getName() != "mysql"); - - $this->addSql("ALTER TABLE news ADD public TINYINT(1) DEFAULT NULL"); - $this->addSql("UPDATE news SET public = 1"); - $this->addSql("ALTER TABLE news CHANGE public public TINYINT(1) NOT NULL"); - } - - 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("ALTER TABLE news DROP public"); - } -} diff --git a/app/DoctrineMigrations/Version20120723203021.php b/app/DoctrineMigrations/Version20120723203021.php deleted file mode 100644 index 58db2a5..0000000 --- a/app/DoctrineMigrations/Version20120723203021.php +++ /dev/null @@ -1,28 +0,0 @@ -abortIf($this->connection->getDatabasePlatform()->getName() != "mysql"); - - $this->addSql("ALTER TABLE events ADD cancelled TINYINT(1) NOT NULL"); - } - - 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("ALTER TABLE events DROP cancelled"); - } -} diff --git a/app/DoctrineMigrations/Version20120723204923.php b/app/DoctrineMigrations/Version20120723204923.php deleted file mode 100644 index c5ffac8..0000000 --- a/app/DoctrineMigrations/Version20120723204923.php +++ /dev/null @@ -1,28 +0,0 @@ -abortIf($this->connection->getDatabasePlatform()->getName() != "mysql"); - - $this->addSql("ALTER TABLE events ADD start_date DATE NOT NULL, ADD end_date DATE DEFAULT NULL, DROP start_time, DROP end_time"); - } - - 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("ALTER TABLE events ADD start_time DATETIME NOT NULL, ADD end_time DATETIME DEFAULT NULL, DROP start_date, DROP end_date"); - } -} diff --git a/app/DoctrineMigrations/Version20120723210859.php b/app/DoctrineMigrations/Version20120723210859.php deleted file mode 100644 index 10b8688..0000000 --- a/app/DoctrineMigrations/Version20120723210859.php +++ /dev/null @@ -1,28 +0,0 @@ -abortIf($this->connection->getDatabasePlatform()->getName() != "mysql"); - - $this->addSql("ALTER TABLE events ADD start_time TIME NOT NULL, ADD end_time TIME DEFAULT NULL"); - } - - 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("ALTER TABLE events DROP start_time, DROP end_time"); - } -}