Commit 8c9452a3 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Set sticky flag to true to home nodes and root

parent 93ae3cdc
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -23,10 +23,10 @@ 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, is_public) VALUES (NULL, NULL, '', 'container', '0', '0', true);                                                                                -- /
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
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, 'curban', 'container', '3354', '3354', true);                                                                        -- /curban
INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id, sticky) VALUES ('', NULL, 'sbertocco', 'container', '2048', '2048', true);                                                                     -- /sbertocco
INSERT INTO node (parent_path, parent_relative_path, name, type, owner_id, creator_id, sticky) VALUES ('', NULL, 'szorba', 'container', '2386', '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)