From 149d0dec1f8608d19eb559dbacf4fb27fc4ca076 Mon Sep 17 00:00:00 2001 From: Matthieu Bontemps Date: Sat, 12 Nov 2011 17:42:26 +0100 Subject: [PATCH] Remove migrations from the repo --- .gitignore | 1 + .../Version20100713230712.php | 19 ------------------- .../Version20100713230717.php | 19 ------------------- .../Version20110401160547.php | 19 ------------------- 4 files changed, 1 insertion(+), 57 deletions(-) delete mode 100644 src/Knp/Bundle/KnpBundlesBundle/DoctrineMigrations/Version20100713230712.php delete mode 100644 src/Knp/Bundle/KnpBundlesBundle/DoctrineMigrations/Version20100713230717.php delete mode 100644 src/Knp/Bundle/KnpBundlesBundle/DoctrineMigrations/Version20110401160547.php diff --git a/.gitignore b/.gitignore index 3523ca1a..8be0bbbb 100755 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ /app/phpunit.xml /web/bundles/* /app/DoctrineMigrations/* +/src/Knp/Bundle/KnpBundlesBundle/DoctrineMigrations/* /vendor/ /app/config/parameters.yml /app/config/parameters.*.yml diff --git a/src/Knp/Bundle/KnpBundlesBundle/DoctrineMigrations/Version20100713230712.php b/src/Knp/Bundle/KnpBundlesBundle/DoctrineMigrations/Version20100713230712.php deleted file mode 100644 index 6f1482bd..00000000 --- a/src/Knp/Bundle/KnpBundlesBundle/DoctrineMigrations/Version20100713230712.php +++ /dev/null @@ -1,19 +0,0 @@ -_addSql('ALTER TABLE repo ADD websiteUrl VARCHAR(255) DEFAULT NULL'); - } - - public function down(Schema $schema) - { - $this->_addSql('ALTER TABLE repo DROP websiteUrl'); - } -} diff --git a/src/Knp/Bundle/KnpBundlesBundle/DoctrineMigrations/Version20100713230717.php b/src/Knp/Bundle/KnpBundlesBundle/DoctrineMigrations/Version20100713230717.php deleted file mode 100644 index ba776d07..00000000 --- a/src/Knp/Bundle/KnpBundlesBundle/DoctrineMigrations/Version20100713230717.php +++ /dev/null @@ -1,19 +0,0 @@ -_addSql('ALTER TABLE repo CHANGE websiteUrl homepage VARCHAR(255) DEFAULT NULL'); - } - - public function down(Schema $schema) - { - $this->_addSql('ALTER TABLE repo CHANGE homepage websiteUrl VARCHAR(255) DEFAULT NULL'); - } -} diff --git a/src/Knp/Bundle/KnpBundlesBundle/DoctrineMigrations/Version20110401160547.php b/src/Knp/Bundle/KnpBundlesBundle/DoctrineMigrations/Version20110401160547.php deleted file mode 100644 index 5962e525..00000000 --- a/src/Knp/Bundle/KnpBundlesBundle/DoctrineMigrations/Version20110401160547.php +++ /dev/null @@ -1,19 +0,0 @@ -_addSql('ALTER TABLE repo CHANGE description description VARCHAR(255) NULL DEFAULT NULL'); - } - - public function down(Schema $schema) - { - $this->_addSql('ALTER TABLE repo CHANGE description description VARCHAR(255) NOT NULL'); - } -}