Loading 00-init.sql +0 −2 Original line number Diff line number Diff line Loading @@ -70,7 +70,6 @@ CREATE TABLE node ( -- async_trans tells us whether a node is hosted on a cold storage and has to be transferred asynchronously sticky BOOLEAN default false, busy_state BOOLEAN default NULL, owner_id VARCHAR default NULL, creator_id VARCHAR default NULL, group_read VARCHAR[] default NULL, group_write VARCHAR[] default NULL, Loading Loading @@ -110,7 +109,6 @@ CREATE TABLE deleted_node ( -- async_trans tells us whether a node is hosted on a cold storage and has to be transferred asynchronously sticky BOOLEAN default false, busy_state BOOLEAN default NULL, owner_id VARCHAR default NULL, creator_id VARCHAR default NULL, group_read VARCHAR[] default NULL, group_write VARCHAR[] default NULL, Loading 05-data.sql +9 −9 Original line number Diff line number Diff line Loading @@ -20,20 +20,20 @@ INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('p /* Initialization test for vospace node table; for now owner_id and group_id are set equal to the user_id Initialization test for vospace node table */ -- parent_path = parent_relative_path INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id, is_public, sticky) VALUES (NULL, NULL, '', 'container', '0', '0', true, true); -- / INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id, sticky) VALUES ('', NULL, 'cristiano.urban', 'container', '3354', '3354', true); -- /curban INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id, sticky) VALUES ('', NULL, 'sara.bertocco', 'container', '2048', '2048', true); -- /sbertocco INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id, sticky) VALUES ('', NULL, 'sonia.zorba', 'container', '2386', '2386', true); -- /szorba INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, is_public, sticky) VALUES (NULL, NULL, '', 'container', '0', true, true); -- / INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, sticky) VALUES ('', NULL, 'cristiano.urban', 'container', '3354', true); -- /curban INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, sticky) VALUES ('', NULL, 'sara.bertocco', 'container', '2048', true); -- /sbertocco INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, sticky) VALUES ('', NULL, 'sonia.zorba', 'container', '2386', true); -- /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) INSERT INTO node (parent_path, parent_relative_path, name, os_name, type, owner_id, creator_id, location_id) VALUES ('5.6', '6', 'f2_renamed', 'f2', 'container', '2386', '2386', 1); -- /test/f1/f2_renamed (rel: /f1/f2) INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id, location_id) VALUES ('5.6.7', '6.7', 'f3', 'data', '2386', '2386', 1); -- /test/f1/f2_renamed/f3 (rel: /f1/f2/f3) INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, group_read, group_write) VALUES ('', NULL, 'test', 'container', '2386', '{"VOSpace.test1"}','{"VOSpace.test1"}'); -- /test INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id) VALUES ('5', '', 'f1', 'container', '2386'); -- /test/f1 (rel: /f1) INSERT INTO node (parent_path, parent_relative_path, name, os_name, type, creator_id, location_id) VALUES ('5.6', '6', 'f2_renamed', 'f2', 'container', '2386', 1); -- /test/f1/f2_renamed (rel: /f1/f2) INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, location_id) VALUES ('5.6.7', '6.7', 'f3', 'data', '2386', 1); -- /test/f1/f2_renamed/f3 (rel: /f1/f2/f3) /* Loading Loading
00-init.sql +0 −2 Original line number Diff line number Diff line Loading @@ -70,7 +70,6 @@ CREATE TABLE node ( -- async_trans tells us whether a node is hosted on a cold storage and has to be transferred asynchronously sticky BOOLEAN default false, busy_state BOOLEAN default NULL, owner_id VARCHAR default NULL, creator_id VARCHAR default NULL, group_read VARCHAR[] default NULL, group_write VARCHAR[] default NULL, Loading Loading @@ -110,7 +109,6 @@ CREATE TABLE deleted_node ( -- async_trans tells us whether a node is hosted on a cold storage and has to be transferred asynchronously sticky BOOLEAN default false, busy_state BOOLEAN default NULL, owner_id VARCHAR default NULL, creator_id VARCHAR default NULL, group_read VARCHAR[] default NULL, group_write VARCHAR[] default NULL, Loading
05-data.sql +9 −9 Original line number Diff line number Diff line Loading @@ -20,20 +20,20 @@ INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('p /* Initialization test for vospace node table; for now owner_id and group_id are set equal to the user_id Initialization test for vospace node table */ -- parent_path = parent_relative_path INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id, is_public, sticky) VALUES (NULL, NULL, '', 'container', '0', '0', true, true); -- / INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id, sticky) VALUES ('', NULL, 'cristiano.urban', 'container', '3354', '3354', true); -- /curban INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id, sticky) VALUES ('', NULL, 'sara.bertocco', 'container', '2048', '2048', true); -- /sbertocco INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id, sticky) VALUES ('', NULL, 'sonia.zorba', 'container', '2386', '2386', true); -- /szorba INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, is_public, sticky) VALUES (NULL, NULL, '', 'container', '0', true, true); -- / INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, sticky) VALUES ('', NULL, 'cristiano.urban', 'container', '3354', true); -- /curban INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, sticky) VALUES ('', NULL, 'sara.bertocco', 'container', '2048', true); -- /sbertocco INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, sticky) VALUES ('', NULL, 'sonia.zorba', 'container', '2386', true); -- /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) INSERT INTO node (parent_path, parent_relative_path, name, os_name, type, owner_id, creator_id, location_id) VALUES ('5.6', '6', 'f2_renamed', 'f2', 'container', '2386', '2386', 1); -- /test/f1/f2_renamed (rel: /f1/f2) INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id, location_id) VALUES ('5.6.7', '6.7', 'f3', 'data', '2386', '2386', 1); -- /test/f1/f2_renamed/f3 (rel: /f1/f2/f3) INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, group_read, group_write) VALUES ('', NULL, 'test', 'container', '2386', '{"VOSpace.test1"}','{"VOSpace.test1"}'); -- /test INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id) VALUES ('5', '', 'f1', 'container', '2386'); -- /test/f1 (rel: /f1) INSERT INTO node (parent_path, parent_relative_path, name, os_name, type, creator_id, location_id) VALUES ('5.6', '6', 'f2_renamed', 'f2', 'container', '2386', 1); -- /test/f1/f2_renamed (rel: /f1/f2) INSERT INTO node (parent_path, parent_relative_path, name, type, creator_id, location_id) VALUES ('5.6.7', '6.7', 'f3', 'data', '2386', 1); -- /test/f1/f2_renamed/f3 (rel: /f1/f2/f3) /* Loading