Files
History_Api/db/migrations/0000018_rag_chunks_content_trgm.up.sql
T
2026-06-08 14:00:20 +07:00

5 lines
144 B
SQL

CREATE EXTENSION IF NOT EXISTS pg_trgm;
CREATE INDEX IF NOT EXISTS idx_rag_chunks_content_trgm
ON rag_chunks USING GIN (content gin_trgm_ops);