Loading 00-tables.sql +4 −12 Original line number Diff line number Diff line Loading @@ -53,20 +53,16 @@ CREATE TABLE node ( group_read VARCHAR[] default NULL, group_write VARCHAR[] default NULL, is_public BOOLEAN default NULL, delta BIGINT default NULL, /* it may be a delta of data which is transferred through an asynchronous transfer. It should stay on the transfer service (e.g. Redis) */ quota BIGINT default NULL, -- total container quota (in bytes) content_type VARCHAR default NULL, content_encoding VARCHAR default NULL, content_length BIGINT default NULL, content_md5 TEXT default NULL, created_on TIMESTAMP default CURRENT_TIMESTAMP, last_modified TIMESTAMP default NULL, -- link TEXT default NULL, accept_views TEXT[] default NULL, provide_views TEXT[] default NULL, -- storage service mapping used to access the content of this node -- storage_id VARCHAR, protocols TEXT[] default NULL, PRIMARY KEY (node_id), FOREIGN KEY (location_id) REFERENCES location (location_id) Loading Loading @@ -94,20 +90,16 @@ CREATE TABLE deleted_node ( group_read VARCHAR[] default NULL, group_write VARCHAR[] default NULL, is_public BOOLEAN default NULL, delta BIGINT default NULL, /* it may be a delta of data which is transferred through an asynchronous transfer. It should stay on the transfer service (e.g. Redis) */ quota BIGINT default NULL, -- total container quota (in bytes) content_type VARCHAR default NULL, content_encoding VARCHAR default NULL, content_length BIGINT default NULL, content_md5 TEXT default NULL, created_on TIMESTAMP default NULL, last_modified TIMESTAMP default NULL, -- link TEXT default NULL, accept_views TEXT[] default NULL, provide_views TEXT[] default NULL, -- storage service mapping used to access the content of this node -- storage_id VARCHAR, protocols TEXT[] default NULL, -- add a deleted_on timestamp to keep track deleted_on TIMESTAMP default CURRENT_TIMESTAMP, Loading Loading
00-tables.sql +4 −12 Original line number Diff line number Diff line Loading @@ -53,20 +53,16 @@ CREATE TABLE node ( group_read VARCHAR[] default NULL, group_write VARCHAR[] default NULL, is_public BOOLEAN default NULL, delta BIGINT default NULL, /* it may be a delta of data which is transferred through an asynchronous transfer. It should stay on the transfer service (e.g. Redis) */ quota BIGINT default NULL, -- total container quota (in bytes) content_type VARCHAR default NULL, content_encoding VARCHAR default NULL, content_length BIGINT default NULL, content_md5 TEXT default NULL, created_on TIMESTAMP default CURRENT_TIMESTAMP, last_modified TIMESTAMP default NULL, -- link TEXT default NULL, accept_views TEXT[] default NULL, provide_views TEXT[] default NULL, -- storage service mapping used to access the content of this node -- storage_id VARCHAR, protocols TEXT[] default NULL, PRIMARY KEY (node_id), FOREIGN KEY (location_id) REFERENCES location (location_id) Loading Loading @@ -94,20 +90,16 @@ CREATE TABLE deleted_node ( group_read VARCHAR[] default NULL, group_write VARCHAR[] default NULL, is_public BOOLEAN default NULL, delta BIGINT default NULL, /* it may be a delta of data which is transferred through an asynchronous transfer. It should stay on the transfer service (e.g. Redis) */ quota BIGINT default NULL, -- total container quota (in bytes) content_type VARCHAR default NULL, content_encoding VARCHAR default NULL, content_length BIGINT default NULL, content_md5 TEXT default NULL, created_on TIMESTAMP default NULL, last_modified TIMESTAMP default NULL, -- link TEXT default NULL, accept_views TEXT[] default NULL, provide_views TEXT[] default NULL, -- storage service mapping used to access the content of this node -- storage_id VARCHAR, protocols TEXT[] default NULL, -- add a deleted_on timestamp to keep track deleted_on TIMESTAMP default CURRENT_TIMESTAMP, Loading