Loading 01-paths-indexes.sql +1 −1 Original line number Diff line number Diff line Loading @@ -31,4 +31,4 @@ ALTER TABLE node ADD COLUMN relative_path ltree GENERATED ALWAYS AS (path(parent CREATE INDEX file_rel_path_gist_idx ON node USING GIST(relative_path); -- Create root node INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, location_id, is_public) VALUES (NULL, NULL, '', 'container', '0', 1, true); INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, is_public) VALUES (NULL, NULL, '', 'container', '0', true); Loading
01-paths-indexes.sql +1 −1 Original line number Diff line number Diff line Loading @@ -31,4 +31,4 @@ ALTER TABLE node ADD COLUMN relative_path ltree GENERATED ALWAYS AS (path(parent CREATE INDEX file_rel_path_gist_idx ON node USING GIST(relative_path); -- Create root node INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, location_id, is_public) VALUES (NULL, NULL, '', 'container', '0', 1, true); INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, is_public) VALUES (NULL, NULL, '', 'container', '0', true);