Permalink
Browse files

Remove migrations from the repo

  • Loading branch information...
mbontemps committed Nov 12, 2011
1 parent 899bbcb commit 149d0dec1f8608d19eb559dbacf4fb27fc4ca076
View
@@ -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
@@ -1,19 +0,0 @@
-<?php
-
-namespace Knp\Bundle\KnpBundlesBundle\DoctrineMigrations;
-
-use Doctrine\DBAL\Migrations\AbstractMigration,
- Doctrine\DBAL\Schema\Schema;
-
-class Version20100713230712 extends AbstractMigration
-{
- public function up(Schema $schema)
- {
- $this->_addSql('ALTER TABLE repo ADD websiteUrl VARCHAR(255) DEFAULT NULL');
- }
-
- public function down(Schema $schema)
- {
- $this->_addSql('ALTER TABLE repo DROP websiteUrl');
- }
-}
@@ -1,19 +0,0 @@
-<?php
-
-namespace Knp\Bundle\KnpBundlesBundle\DoctrineMigrations;
-
-use Doctrine\DBAL\Migrations\AbstractMigration,
- Doctrine\DBAL\Schema\Schema;
-
-class Version20100713230717 extends AbstractMigration
-{
- public function up(Schema $schema)
- {
- $this->_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');
- }
-}
@@ -1,19 +0,0 @@
-<?php
-
-namespace Knp\Bundle\KnpBundlesBundle\DoctrineMigrations;
-
-use Doctrine\DBAL\Migrations\AbstractMigration,
- Doctrine\DBAL\Schema\Schema;
-
-class Version20110401160547 extends AbstractMigration
-{
- public function up(Schema $schema)
- {
- $this->_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');
- }
-}

0 comments on commit 149d0de

Please sign in to comment.