From 51affb64735c3e9c4645ddfc2aa9f2e3e31b5a78 Mon Sep 17 00:00:00 2001
From: Cristiano Urban <cristiano.urban@inaf.it>
Date: Wed, 10 Mar 2021 09:41:55 +0100
Subject: [PATCH] Updated data initialization script.

Signed-off-by: Cristiano Urban <cristiano.urban@inaf.it>
---
 05-data.sql | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/05-data.sql b/05-data.sql
index 1e68018..acb8995 100644
--- a/05-data.sql
+++ b/05-data.sql
@@ -2,11 +2,11 @@
    Initialization test for storage table
 */
 
-INSERT INTO storage (storage_type, base_path, hostname) VALUES ('cold', '/ia2_tape_generic_rw_01/users', 'tape-fe.ia2.inaf.it');
-INSERT INTO storage (storage_type, base_path, hostname) VALUES ('hot', '/mnt/hot_storage/users', 'server');
-INSERT INTO storage (storage_type, base_path, hostname) VALUES ('local', '/home', 'localhost');
-INSERT INTO storage (storage_type, base_path, hostname) VALUES ('local', '/home/vospace/upload', 'localhost');
-INSERT INTO storage (storage_type, base_path, hostname) VALUES ('portal', '/files/new/lbt', 'archive.lbto.org');
+INSERT INTO storage (storage_type, base_path, base_url, hostname) VALUES ('cold', '/ia2_tape_generic_rw_01/users', NULL, 'tape-fe.ia2.inaf.it');
+INSERT INTO storage (storage_type, base_path, base_url, hostname) VALUES ('hot', '/mnt/hot_storage/users', NULL, 'server');
+INSERT INTO storage (storage_type, base_path, base_url, hostname) VALUES ('local', '/home', NULL, 'localhost');
+INSERT INTO storage (storage_type, base_path, base_url, hostname) VALUES ('local', '/home/vospace/upload', NULL, 'localhost');
+INSERT INTO storage (storage_type, base_path, base_url, hostname) VALUES ('portal', NULL, '/files/new/lbt', 'archive.lbto.org');
 
 
 /*
-- 
GitLab