Commit c3ae199b authored by Nicola Fulvio Calabria's avatar Nicola Fulvio Calabria
Browse files

added target property for link nodes to nodes and deleted_nodes tables

parent d673dfe3
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -42,6 +42,8 @@ CREATE TABLE node (
    tstamp_wrapper_dir     VARCHAR       default NULL,
    type                   NodeType      NOT NULL,
    location_id            SMALLINT      default NULL,
    -- target URI for link nodes
    target                 VARCHAR       default NULL,
   -- format is used to distinguish between unstuctured (format=NULL) and structured nodes having a well defined format
    format                 VARCHAR       default NULL,
    -- async_trans tells us whether a node is hosted on a cold storage and has to be transferred asynchronously
@@ -80,6 +82,8 @@ CREATE TABLE deleted_node (
    tstamp_wrapper_dir     VARCHAR       default NULL,
    type                   NodeType      NOT NULL,
    location_id            SMALLINT      default NULL,
    -- target URI for link nodes
    target                 VARCHAR       default NULL,
    -- format is used to distinguish between unstuctured (format=NULL) and structured nodes having a well defined format
    format                 VARCHAR       default NULL,
    -- async_trans tells us whether a node is hosted on a cold storage and has to be transferred asynchronously