From 29aeed12c00069c0efc43b7e5f474a432ad4751e Mon Sep 17 00:00:00 2001
From: Sonia Zorba <sonia.zorba@inaf.it>
Date: Wed, 27 Jan 2021 16:19:34 +0100
Subject: [PATCH] Added data for user location (uploaded files)

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

diff --git a/05-data.sql b/05-data.sql
index 0bbfe54..da444fc 100644
--- a/05-data.sql
+++ b/05-data.sql
@@ -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');                                                                                -- /
-- 
GitLab