Files
multica/server/migrations/140_comment_content_trgm_index.up.sql
Multica Eve 75e8bd5b64 fix: make release index migrations concurrent (#4995)
Co-authored-by: Eve <eve@multica-ai.local>
Co-authored-by: multica-agent <github@multica.ai>
2026-07-06 19:06:53 +08:00

6 lines
288 B
SQL

-- Fallback GIN index for SearchIssues comment content LIKE matches when
-- pg_bigm is not available. Single-statement file required for CREATE INDEX
-- CONCURRENTLY.
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_comment_content_trgm
ON comment USING gin (LOWER(content) gin_trgm_ops);