increase item path index siglen

This commit is contained in:
keyan 2022-11-06 12:31:07 -06:00
parent 525cab2573
commit 21083ef8cd
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1 @@
CREATE INDEX IF NOT EXISTS "item_gist_path_index" ON "Item" USING GIST ("path");
CREATE INDEX "item_gist_path_index" ON "Item" USING GIST ("path" gist_ltree_ops(siglen=2024));

View File

@ -0,0 +1,3 @@
-- This is an empty migration.
DROP INDEX "Item.path_index";
CREATE INDEX "Item.path_index" ON "Item" USING GIST ("path" gist_ltree_ops(siglen=2024));