Commit e2f766db authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Moved comments before column definitions for uniformity

parent cb29c923
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -42,19 +42,19 @@ CREATE TABLE node (
    tstamp_wrapper_dir     VARCHAR       default NULL,
    type                   NodeType      NOT NULL,
    location_id            SMALLINT      default 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,
    format                 VARCHAR       default NULL,
    -- async_trans tells us whether a node is hosted on a cold storage and has to be transferred asynchronously
    async_trans            BOOLEAN       default false,
    sticky                 BOOLEAN       default false,
    -- id of the blocking job running on the node (used to compute busy state)
    job_id                 VARCHAR       default NULL,
    -- job_id will likely replace 'busy_state'
    creator_id             VARCHAR       default NULL,
    group_read             VARCHAR[]     default NULL,
    group_write            VARCHAR[]     default NULL,
    is_public              BOOLEAN       default NULL,
    quota                  BIGINT        default NULL,
    -- total container quota (in bytes)
    quota                  BIGINT        default NULL,
    content_type           VARCHAR       default NULL,
    content_encoding       VARCHAR       default NULL,
    content_length         BIGINT        default NULL,
@@ -80,18 +80,18 @@ CREATE TABLE deleted_node (
    tstamp_wrapper_dir     VARCHAR       default NULL,
    type                   NodeType      NOT NULL,
    location_id            SMALLINT      default 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,
    format                 VARCHAR       default NULL,
    -- async_trans tells us whether a node is hosted on a cold storage and has to be transferred asynchronously
    async_trans            BOOLEAN       default NULL,
    sticky                 BOOLEAN       default false,
    job_id                 VARCHAR       default NULL,
    creator_id             VARCHAR       default NULL,
    group_read             VARCHAR[]     default NULL,
    group_write            VARCHAR[]     default NULL,
    is_public              BOOLEAN       default NULL,
    quota                  BIGINT        default NULL,
    -- total container quota (in bytes)
    quota                  BIGINT        default NULL,
    content_type           VARCHAR       default NULL,
    content_encoding       VARCHAR       default NULL,
    content_length         BIGINT        default NULL,