feat(DB): changed deltas
This commit is contained in:
parent
6e5fed8d8d
commit
c0ff7c9ab3
2 changed files with 2 additions and 4 deletions
|
|
@ -7,11 +7,10 @@ $$ LANGUAGE sql IMMUTABLE;
|
|||
|
||||
COMMIT;
|
||||
|
||||
CREATE UNIQUE INDEX CONCURRENTLY IF NOT EXISTS autocomplete_unique_m ON autocomplete (project_id, md5(value), type);
|
||||
CREATE UNIQUE INDEX CONCURRENTLY IF NOT EXISTS autocomplete_unique_project_id_md5value_type_idx ON autocomplete (project_id, md5(value), type);
|
||||
|
||||
BEGIN;
|
||||
|
||||
DROP INDEX IF EXISTS autocomplete_unique;
|
||||
ALTER INDEX IF EXISTS autocomplete_unique_m RENAME TO autocomplete_unique;
|
||||
|
||||
COMMIT;
|
||||
|
|
@ -7,11 +7,10 @@ $$ LANGUAGE sql IMMUTABLE;
|
|||
|
||||
COMMIT;
|
||||
|
||||
CREATE UNIQUE INDEX CONCURRENTLY IF NOT EXISTS autocomplete_unique_m ON autocomplete (project_id, md5(value), type);
|
||||
CREATE UNIQUE INDEX CONCURRENTLY IF NOT EXISTS autocomplete_unique_project_id_md5value_type_idx ON autocomplete (project_id, md5(value), type);
|
||||
|
||||
BEGIN;
|
||||
|
||||
DROP INDEX IF EXISTS autocomplete_unique;
|
||||
ALTER INDEX IF EXISTS autocomplete_unique_m RENAME TO autocomplete_unique;
|
||||
|
||||
COMMIT;
|
||||
Loading…
Add table
Reference in a new issue