From ff856ee6d36edf1dec7434f012df64fd40db9f31 Mon Sep 17 00:00:00 2001 From: Marko Jovanovic Date: Fri, 16 Jan 2026 14:41:45 +0100 Subject: [PATCH] Doctrine migration fix --- migrations/Version20260116104840.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/migrations/Version20260116104840.php b/migrations/Version20260116104840.php index 2be66c5..b68cbfc 100644 --- a/migrations/Version20260116104840.php +++ b/migrations/Version20260116104840.php @@ -20,7 +20,6 @@ final class Version20260116104840 extends AbstractMigration public function up(Schema $schema): void { // this up() migration is auto-generated, please modify it to your needs - $this->addSql('DROP INDEX unique_quartal'); $this->addSql('CREATE UNIQUE INDEX unique_quartal ON contacts (phone_number, due_quartal) WHERE due_quartal IS NOT NULL'); } @@ -29,6 +28,5 @@ final class Version20260116104840 extends AbstractMigration // this down() migration is auto-generated, please modify it to your needs $this->addSql('CREATE SCHEMA public'); $this->addSql('DROP INDEX unique_quartal'); - $this->addSql('CREATE INDEX unique_quartal ON contacts (phone_number, due_quartal) WHERE (due_quartal IS NOT NULL)'); } }