Loading 00-init.sql +12 −3 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ CREATE EXTENSION IF NOT EXISTS ltree; CREATE TYPE NodeType AS ENUM ('container', 'data', 'link', 'structured'); CREATE TYPE LocationType AS ENUM ('virtual', 'tape', 'user', 'LBT'); CREATE TYPE LocationType AS ENUM ('async', 'user', 'portal'); CREATE TABLE node ( node_id BIGSERIAL NOT NULL, Loading @@ -40,7 +40,7 @@ CREATE TABLE node ( os_name VARCHAR default NULL, tstamp_wrapper_dir VARCHAR default NULL, type NodeType NOT NULL, location_type LocationType default 'virtual', location_id SMALLINT NOT NULL, format VARCHAR default NULL, -- format is used to distinguish between unstuctured (format=NULL) and structured nodes having a well defined format async_trans BOOLEAN default false, Loading Loading @@ -78,7 +78,7 @@ CREATE TABLE deleted_node ( os_name VARCHAR default NULL, tstamp_wrapper_dir VARCHAR default NULL, type NodeType NOT NULL, location_type LocationType default NULL, location_id SMALLINT NOT NULL, format VARCHAR default NULL, -- format is used to distinguish between unstuctured (format=NULL) and structured nodes having a well defined format async_trans BOOLEAN default NULL, Loading Loading @@ -110,6 +110,15 @@ CREATE TABLE deleted_node ( ); CREATE TABLE location ( location_id SMALLSERIAL NOT NULL, location_type LocationType NOT NULL, base_path VARCHAR NOT NULL, hostname VARCHAR NOT NULL, PRIMARY KEY (location_id) ); CREATE TABLE users ( rap_id VARCHAR NOT NULL, user_name VARCHAR NOT NULL, Loading Loading
00-init.sql +12 −3 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ CREATE EXTENSION IF NOT EXISTS ltree; CREATE TYPE NodeType AS ENUM ('container', 'data', 'link', 'structured'); CREATE TYPE LocationType AS ENUM ('virtual', 'tape', 'user', 'LBT'); CREATE TYPE LocationType AS ENUM ('async', 'user', 'portal'); CREATE TABLE node ( node_id BIGSERIAL NOT NULL, Loading @@ -40,7 +40,7 @@ CREATE TABLE node ( os_name VARCHAR default NULL, tstamp_wrapper_dir VARCHAR default NULL, type NodeType NOT NULL, location_type LocationType default 'virtual', location_id SMALLINT NOT NULL, format VARCHAR default NULL, -- format is used to distinguish between unstuctured (format=NULL) and structured nodes having a well defined format async_trans BOOLEAN default false, Loading Loading @@ -78,7 +78,7 @@ CREATE TABLE deleted_node ( os_name VARCHAR default NULL, tstamp_wrapper_dir VARCHAR default NULL, type NodeType NOT NULL, location_type LocationType default NULL, location_id SMALLINT NOT NULL, format VARCHAR default NULL, -- format is used to distinguish between unstuctured (format=NULL) and structured nodes having a well defined format async_trans BOOLEAN default NULL, Loading Loading @@ -110,6 +110,15 @@ CREATE TABLE deleted_node ( ); CREATE TABLE location ( location_id SMALLSERIAL NOT NULL, location_type LocationType NOT NULL, base_path VARCHAR NOT NULL, hostname VARCHAR NOT NULL, PRIMARY KEY (location_id) ); CREATE TABLE users ( rap_id VARCHAR NOT NULL, user_name VARCHAR NOT NULL, Loading