From a675c775fbe886c68ff0ff6277d94a569fa44812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nu=C5=A1a=20Puk=C5=A1i=C4=8D?= Date: Wed, 3 Dec 2025 11:43:56 +0100 Subject: [PATCH] Edit a migration --- migrations/Version20251130103218.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/Version20251130103218.php b/migrations/Version20251130103218.php index 8ae0b3b..93b3bf1 100644 --- a/migrations/Version20251130103218.php +++ b/migrations/Version20251130103218.php @@ -20,14 +20,14 @@ final class Version20251130103218 extends AbstractMigration public function up(Schema $schema): void { // this up() migration is auto-generated, please modify it to your needs - $this->addSql('ALTER TABLE article ALTER id ADD GENERATED BY DEFAULT AS IDENTITY'); + // $this->addSql('ALTER TABLE article ALTER id ADD GENERATED BY DEFAULT AS IDENTITY'); $this->addSql('DROP INDEX idx_event_kind'); } public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs - $this->addSql('ALTER TABLE article ALTER id DROP IDENTITY'); + // $this->addSql('ALTER TABLE article ALTER id DROP IDENTITY'); $this->addSql('CREATE INDEX idx_event_kind ON event (kind)'); } }