mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add an index for api key
This commit is contained in:
parent
fe2451cca7
commit
534b28c536
2 changed files with 2 additions and 0 deletions
|
|
@ -4,3 +4,4 @@
|
|||
|
||||
CREATE INDEX CONCURRENTLY IF NOT EXISTS library_item_user_id_state_idx ON omnivore.library_item (user_id, state);
|
||||
|
||||
CREATE INDEX CONCURRENTLY IF NOT EXISTS api_key_key_idx ON omnivore.api_key (key);
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
BEGIN;
|
||||
|
||||
DROP INDEX IF EXISTS api_key_key_idx;
|
||||
DROP INDEX IF EXISTS library_item_user_id_state_idx;
|
||||
|
||||
COMMIT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue