diff --git a/01-paths-indexes.sql b/01-paths-indexes.sql index 6f5d39fad2c0d35c2e693994d699b1b27edaa775..53f26c4c7b4c36bdd23e889986e5abda790fb533 100644 --- a/01-paths-indexes.sql +++ b/01-paths-indexes.sql @@ -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);