From: Eric Bollengier Date: Fri, 12 Aug 2022 12:55:39 +0000 (+0200) Subject: Add Job::Encrypted catalog field X-Git-Tag: Beta-15.0.0~456 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fcf9dc57feb5bc4c9dffce0ea730c33067321b9;p=thirdparty%2Fbacula.git Add Job::Encrypted catalog field --- diff --git a/bacula/src/cats/make_mysql_tables.in b/bacula/src/cats/make_mysql_tables.in index 1d537688e..ebf683c4f 100644 --- a/bacula/src/cats/make_mysql_tables.in +++ b/bacula/src/cats/make_mysql_tables.in @@ -330,6 +330,7 @@ CREATE TABLE Job ( WriteStorageId integer default 0, -- Id of the Storage used to Write WriteDevice blob, -- Name of the Write Device StatusInfo blob, -- Info to determine the error status + Encrypted int default 0, -- 0 no, 1 fd side, 2 sd side, 3 both PRIMARY KEY(JobId), INDEX (Name(128)) ); diff --git a/bacula/src/cats/make_postgresql_tables.in b/bacula/src/cats/make_postgresql_tables.in index 0e43271b4..a1da714e2 100644 --- a/bacula/src/cats/make_postgresql_tables.in +++ b/bacula/src/cats/make_postgresql_tables.in @@ -303,6 +303,7 @@ CREATE TABLE Job WriteStorageId integer default 0, -- Id of the Storage used to Write WriteDevice text default '', -- Name of the Write Device StatusInfo text default '', -- Info to determine the error status + Encrypted int default 0, -- 0 no, 1 fd side, 2 sd side, 3 both primary key (jobid) ); diff --git a/bacula/src/cats/make_sqlite3_tables.in b/bacula/src/cats/make_sqlite3_tables.in index e36f7e513..29c774a2f 100644 --- a/bacula/src/cats/make_sqlite3_tables.in +++ b/bacula/src/cats/make_sqlite3_tables.in @@ -259,6 +259,7 @@ CREATE TABLE Job ( WriteStorageId integer default 0, -- Id of the Storage used to Write WriteDevice text default '', -- Name of the Write Device StatusInfo text default '', -- Info to determine the error status + Encrypted int default 0, -- 0 no, 1 fd side, 2 sd side, 3 both PRIMARY KEY(JobId) ); CREATE INDEX inx6 ON Job (Name);