Commit a05d81fc authored by Thomas Citharel's avatar Thomas Citharel 🌲

remove creating public schema in down migrations

Signed-off-by: Thomas Citharel's avatarThomas Citharel <tcit@tcit.fr>
parent d53d0661
Pipeline #25784 failed with stage
in 56 seconds
......@@ -33,7 +33,6 @@ class Version20171013100630 extends AbstractMigration
// this down() migration is auto-generated, please modify it to your needs
$this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'postgresql', 'Migration can only be executed safely on \'postgresql\'.');
$this->addSql('CREATE SCHEMA public');
$this->addSql('ALTER TABLE framasite_user ADD name VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE framasite_user DROP country');
$this->addSql('ALTER TABLE framasite_user DROP first_name');
......
......@@ -31,7 +31,6 @@ class Version20171013102513 extends AbstractMigration
// this down() migration is auto-generated, please modify it to your needs
$this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'postgresql', 'Migration can only be executed safely on \'postgresql\'.');
$this->addSql('CREATE SCHEMA public');
$this->addSql('ALTER TABLE framasite_user DROP type');
$this->addSql('ALTER TABLE framasite_user DROP legal_name');
$this->addSql('ALTER TABLE framasite_user DROP birthday');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment