FIX don't delete profession_id column yet

This commit is contained in:
Julie Lenaerts 2023-03-03 15:34:57 +01:00 committed by Julien Fastré
parent 9a56a1b115
commit f15017ebd7
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -25,7 +25,7 @@ final class Version20230215175150 extends AbstractMigration implements Container
public function down(Schema $schema): void public function down(Schema $schema): void
{ {
$this->addSql('ALTER TABLE chill_3party.third_party DROP profession'); $this->addSql('ALTER TABLE chill_3party.third_party DROP profession');
$this->addSql('ALTER TABLE chill_3party.third_party ADD profession_id INT DEFAULT NULL'); // $this->addSql('ALTER TABLE chill_3party.third_party ADD profession_id INT DEFAULT NULL');
} }
public function getDescription(): string public function getDescription(): string
@ -60,6 +60,6 @@ final class Version20230215175150 extends AbstractMigration implements Container
); );
} }
$this->addSql('ALTER TABLE chill_3party.third_party DROP profession_id'); // $this->addSql('ALTER TABLE chill_3party.third_party DROP profession_id');
} }
} }