From c1897447357713ebbf6dc805bc3c59001f21c305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nu=C5=A1a=20Puk=C5=A1i=C4=8D?= Date: Mon, 6 Oct 2025 19:14:52 +0200 Subject: [PATCH] Migration, 4 --- migrations/Version20250927120000.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/Version20250927120000.php b/migrations/Version20250927120000.php index c0670e2..3bed7d1 100644 --- a/migrations/Version20250927120000.php +++ b/migrations/Version20250927120000.php @@ -32,8 +32,8 @@ final class Version20250927120000 extends AbstractMigration $this->addSql('CREATE INDEX IF NOT EXISTS IDX_EVENT_PUBKEY ON event (pubkey)'); // Add GIN index on tags JSON column for efficient JSON queries - // Note: jsonb_ops is the default operator class for JSONB columns - $this->addSql('CREATE INDEX IF NOT EXISTS IDX_EVENT_TAGS_GIN ON event USING GIN (tags jsonb_ops)'); + // Note: json_ops is the operator class for JSON columns + $this->addSql('CREATE INDEX IF NOT EXISTS IDX_EVENT_TAGS_GIN ON event USING GIN (tags json_ops)'); } public function down(Schema $schema): void