Commit 29aeed12 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Added data for user location (uploaded files)

parent 45c0fc8b
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5,8 +5,11 @@
INSERT INTO storage (storage_type, base_path, hostname) VALUES ('cold', '/ia2_tape_stb_01/users', 'tape-fe.ia2.inaf.it');
INSERT INTO storage (storage_type, base_path, hostname) VALUES ('hot', '/home/users', 'server');
INSERT INTO storage (storage_type, base_path, hostname) VALUES ('hot', '/home', 'localhost');
INSERT INTO storage (storage_type, base_path, hostname) VALUES ('hot', '/home/vospace/upload', 'localhost');

INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('async', 1, 3);
INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('async', 1, 3);
INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('user', 4, 4);

-- 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');                                                                                -- /