Skip to content

Commit 98e7184

Browse files
committed
add allocation path and level index
1 parent eac3bb5 commit 98e7184

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- +goose Up
22
-- +goose StatementBegin
3-
DROP INDEX idx_created_at,idx_updated_at,idx_lookup_hash,path_idx;
4-
CREATE UNIQUE INDEX idx_lookup_deleted_at ON reference_objects USING btree(lookup_hash,deleted_at);
3+
DROP INDEX idx_created_at,idx_updated_at,idx_lookup_hash,path_idx,idx_path_gin_trgm,idx_name_gin,idx_path_alloc;
4+
CREATE INDEX idx_allocation_path ON reference_objects USING btree(allocation_id,path,level);
55
-- +goose StatementEnd

0 commit comments

Comments
 (0)