From b432e567fc67e4a369524c3b3fcba96586e7fb64 Mon Sep 17 00:00:00 2001 From: Sonia Zorba <sonia.zorba@inaf.it> Date: Mon, 8 Feb 2021 17:07:28 +0100 Subject: [PATCH] Added sticky flag to nodes --- 00-init.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/00-init.sql b/00-init.sql index 0e81527..0137871 100644 --- a/00-init.sql +++ b/00-init.sql @@ -67,6 +67,7 @@ CREATE TABLE node ( -- format is used to distinguish between unstuctured (format=NULL) and structured nodes having a well defined format async_trans BOOLEAN default false, -- async_trans tells us whether a node is hosted on a cold storage and has to be transferred asynchronously + sticky BOOLEAN default false, busy_state BOOLEAN default NULL, owner_id VARCHAR default NULL, creator_id VARCHAR default NULL, @@ -106,6 +107,7 @@ CREATE TABLE deleted_node ( -- format is used to distinguish between unstuctured (format=NULL) and structured nodes having a well defined format async_trans BOOLEAN default NULL, -- async_trans tells us whether a node is hosted on a cold storage and has to be transferred asynchronously + sticky BOOLEAN default false, busy_state BOOLEAN default NULL, owner_id VARCHAR default NULL, creator_id VARCHAR default NULL, -- GitLab