]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Add Job::Encrypted catalog field
authorEric Bollengier <eric@baculasystems.com>
Fri, 12 Aug 2022 12:55:39 +0000 (14:55 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:59 +0000 (13:56 +0200)
bacula/src/cats/make_mysql_tables.in
bacula/src/cats/make_postgresql_tables.in
bacula/src/cats/make_sqlite3_tables.in

index 1d537688ef3d000ce964eb0b89f59944ec143f4e..ebf683c4fd8254e6981ed91eb1108d578f9e585c 100644 (file)
@@ -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))
    );
index 0e43271b40212c0a6be02a7f78e14a3d8c57087d..a1da714e25bd06cbf7dd5884bb98b77d8cbea3bb 100644 (file)
@@ -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)
 );
 
index e36f7e5139ccabd90688d411363927b1ab2be579..29c774a2f9f4f1dfac7726e61b008e93a092845d 100644 (file)
@@ -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);