mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
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:
commit
c89e9a3186
2 changed files with 0 additions and 14 deletions
|
|
@ -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;
|
||||
Loading…
Reference in a new issue