From efc385bf54a2edc0a2491a8c706a46bb35e87eb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Mon, 3 Aug 2026 17:24:31 +0200 Subject: [PATCH] fix: remove irrelevant schema drift from migration --- migrations/Version20260627121823.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/migrations/Version20260627121823.php b/migrations/Version20260627121823.php index 0932ce6..558af8d 100644 --- a/migrations/Version20260627121823.php +++ b/migrations/Version20260627121823.php @@ -21,15 +21,11 @@ final class Version20260627121823 extends AbstractMigration { // this up() migration is auto-generated, please modify it to your needs $this->addSql('ALTER TABLE accommodation_price ADD accept_undersubscription TINYINT(1) NOT NULL'); - $this->addSql('DROP INDEX IDX_NEWSLETTER_CONSENT_EMAIL ON newsletter_consent'); - $this->addSql('ALTER TABLE newsletter_opt_in_request RENAME INDEX uniq_70505214b3bc57da TO UNIQ_EC0365DB3BC57DA'); } public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs $this->addSql('ALTER TABLE accommodation_price DROP accept_undersubscription'); - $this->addSql('CREATE INDEX IDX_NEWSLETTER_CONSENT_EMAIL ON newsletter_consent (email)'); - $this->addSql('ALTER TABLE newsletter_opt_in_request RENAME INDEX uniq_ec0365db3bc57da TO UNIQ_70505214B3BC57DA'); } }