From 460d9f079714f6173aaac4cffbcc6be3c1c6dc2e Mon Sep 17 00:00:00 2001
From: Cristiano Urban <cristiano.urban@inaf.it>
Date: Thu, 6 Apr 2023 09:26:48 +0200
Subject: [PATCH] Added 'tape_pool' column to 'storage' table.

Signed-off-by: Cristiano Urban <cristiano.urban@inaf.it>
---
 00-tables.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/00-tables.sql b/00-tables.sql
index 13da05a..b4cce54 100644
--- a/00-tables.sql
+++ b/00-tables.sql
@@ -21,6 +21,7 @@ CREATE TABLE storage (
     storage_type      StorageType   NOT NULL,
     base_path         VARCHAR       default NULL,
     hostname          VARCHAR       NOT NULL,
+    tape_pool         VARCHAR       default NULL,
     PRIMARY KEY (storage_id)
 );
 
@@ -163,4 +164,4 @@ CREATE TABLE collections_node (
     collection_id     INT        references collections(collection_id) ON DELETE CASCADE ON UPDATE CASCADE,
     node_id           BIGINT     references node(node_id) ON DELETE CASCADE ON UPDATE CASCADE,
     PRIMARY KEY(collection_id, node_id)
-);
\ No newline at end of file
+);
-- 
GitLab