Merge pull request #4081 from omnivore-app/fix/do-not-create-library-item-topic-index

do not create library_item_topic_idx index on library_item table since it locks the table/row for a long time
This commit is contained in:
Hongbo Wu
2024-06-19 17:23:56 +08:00
committed by GitHub
2 changed files with 0 additions and 14 deletions

View File

@ -1,5 +0,0 @@
-- Type: DO
-- Name: library_item_topic_idx
-- Description: Create index on topic column in library_item table
CREATE INDEX CONCURRENTLY IF NOT EXISTS library_item_topic_idx ON omnivore.library_item USING GIST (topic);

View File

@ -1,9 +0,0 @@
-- Type: UNDO
-- Name: library_item_topic_idx
-- Description: Create index on topic column in library_item table
BEGIN;
DROP INDEX IF EXISTS omnivore.library_item_topic_idx;
COMMIT;