Loading 00-init.sql +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ CREATE EXTENSION IF NOT EXISTS ltree; CREATE TYPE NodeType AS ENUM ('container', 'data', 'link', 'structured'); CREATE TYPE LocationType AS ENUM ('async', 'portal', 'user'); CREATE TYPE StorageType AS ENUM ('cold', 'hot', 'local'); CREATE TYPE StorageType AS ENUM ('cold', 'hot', 'local', 'portal'); CREATE TABLE storage ( Loading 05-data.sql +2 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ INSERT INTO storage (storage_type, base_path, hostname) VALUES ('cold', '/ia2_ta 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'); /* Loading @@ -15,6 +16,7 @@ INSERT INTO storage (storage_type, base_path, hostname) VALUES ('local', '/home/ 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', 2, 3); INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('user', 4, 4); INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('portal', 5, 5); /* Loading Loading
00-init.sql +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ CREATE EXTENSION IF NOT EXISTS ltree; CREATE TYPE NodeType AS ENUM ('container', 'data', 'link', 'structured'); CREATE TYPE LocationType AS ENUM ('async', 'portal', 'user'); CREATE TYPE StorageType AS ENUM ('cold', 'hot', 'local'); CREATE TYPE StorageType AS ENUM ('cold', 'hot', 'local', 'portal'); CREATE TABLE storage ( Loading
05-data.sql +2 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ INSERT INTO storage (storage_type, base_path, hostname) VALUES ('cold', '/ia2_ta 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'); /* Loading @@ -15,6 +16,7 @@ INSERT INTO storage (storage_type, base_path, hostname) VALUES ('local', '/home/ 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', 2, 3); INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('user', 4, 4); INSERT INTO location (location_type, storage_src_id, storage_dest_id) VALUES ('portal', 5, 5); /* Loading