fix: cleanup migration

This commit is contained in:
Björn Fromme
2025-02-10 18:24:25 +01:00
parent 8a5d41e72a
commit 2655b83242
-2
View File
@@ -21,13 +21,11 @@ final class Version20250210162751 extends AbstractMigration
{ {
// this up() migration is auto-generated, please modify it to your needs // this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE teamer ADD remarks_internal LONGTEXT DEFAULT NULL'); $this->addSql('ALTER TABLE teamer ADD remarks_internal LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE user DROP hotel_code');
} }
public function down(Schema $schema): void public function down(Schema $schema): void
{ {
// this down() migration is auto-generated, please modify it to your needs // this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE teamer DROP remarks_internal'); $this->addSql('ALTER TABLE teamer DROP remarks_internal');
$this->addSql('ALTER TABLE user ADD hotel_code VARCHAR(32) DEFAULT NULL');
} }
} }