Commit b6ea4e4a authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Removed location from root node

parent a38759e1
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);