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:
@ -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);
|
||||
@ -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;
|
||||
Reference in New Issue
Block a user