update ltree extension

This commit is contained in:
keyan 2022-11-06 12:31:07 -06:00
parent 525cab2573
commit 13163232ec
3 changed files with 8 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));

View File

@ -0,0 +1,4 @@
-- This is an empty migration.
ALTER EXTENSION ltree UPDATE TO '1.2';
DROP INDEX "Item.path_index";
CREATE INDEX "Item.path_index" ON "Item" USING GIST ("path" gist_ltree_ops(siglen=2024));