You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/db/migrations/0373_keyword_tin_document_index.sql
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,5 +2,7 @@
2
2
-- document id; with no index on that column every ACL change scanned the whole projection.
3
3
COMMIT;--> statement-breakpoint
4
4
SET lock_timeout =0;--> statement-breakpoint
5
+
-- migration-safe: replay replaces only this new index to recover an interrupted concurrent build; existing indexes remain available.
6
+
DROPINDEX CONCURRENTLY IF EXISTS "embedding_keyword_tin_document_idx";--> statement-breakpoint
5
7
CREATEINDEXCONCURRENTLY IF NOT EXISTS "embedding_keyword_tin_document_idx"ON"embedding_keyword_tin" USING btree ("document_id");--> statement-breakpoint
0 commit comments