From b6ea4e4acaefb14d68a0cd99fd2b8dfc2e163b6e Mon Sep 17 00:00:00 2001 From: Sonia Zorba <sonia.zorba@inaf.it> Date: Thu, 6 May 2021 17:43:51 +0200 Subject: [PATCH] Removed location from root node --- 01-paths-indexes.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-paths-indexes.sql b/01-paths-indexes.sql index 6f5d39f..53f26c4 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); -- GitLab