From 62d3f368a1c9da0d9933918f4c444dfd86d3cac5 Mon Sep 17 00:00:00 2001
From: Sonia Zorba <sonia.zorba@inaf.it>
Date: Mon, 1 Feb 2021 10:24:26 +0100
Subject: [PATCH] Set to NULL the parent_relative_path of home user folders
 used in async transfers

---
 05-data.sql | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/05-data.sql b/05-data.sql
index 919edf9..0b8d9f4 100644
--- a/05-data.sql
+++ b/05-data.sql
@@ -24,9 +24,9 @@ INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('u
 
 -- parent_path = parent_relative_path
 INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id) VALUES (NULL, NULL, '', 'container', '0', '0');                                                                                -- /
-INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id) VALUES ('', '', 'curban', 'container', '3354', '3354');                                                                        -- /curban
-INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id) VALUES ('', '', 'sbertocco', 'container', '2048', '2048');                                                                     -- /sbertocco
-INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id) VALUES ('', '', 'szorba', 'container', '2386', '2386');                                                                        -- /szorba
+INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id) VALUES ('', NULL, 'curban', 'container', '3354', '3354');                                                                        -- /curban
+INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id) VALUES ('', NULL, 'sbertocco', 'container', '2048', '2048');                                                                     -- /sbertocco
+INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id) VALUES ('', NULL, 'szorba', 'container', '2386', '2386');                                                                        -- /szorba
 -- parent_path <> parent_relative_path
 INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id, group_read, group_write) VALUES ('', NULL, 'test', 'container', '2386', '2386', '{"VOSpace.test1"}','{"VOSpace.test1"}');      -- /test
 INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id) VALUES ('5', '', 'f1', 'container', '2386', '2386');                                                                           -- /test/f1 (rel: /f1)
-- 
GitLab