]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Add new Object fields to the Object table
authorEric Bollengier <eric@baculasystems.com>
Mon, 22 Jun 2020 07:37:06 +0000 (09:37 +0200)
committerEric Bollengier <eric@baculasystems.com>
Tue, 1 Mar 2022 14:36:16 +0000 (15:36 +0100)
bacula/src/cats/make_mysql_tables.in
bacula/src/cats/make_postgresql_tables.in
bacula/src/cats/make_sqlite3_tables.in
bacula/src/cats/update_mysql_tables.in
bacula/src/cats/update_postgresql_tables.in
bacula/src/cats/update_sqlite3_tables.in
bacula/updatedb/update_mysql_tables_1021_to_1022.in
bacula/updatedb/update_postgresql_tables_1021_to_1022.in

index c21e2c47807436cd94cb65db1c567174f2b4ca35..f84aec0ba0f490eed76c49353a87ec3e4b12c049 100644 (file)
@@ -72,6 +72,8 @@ CREATE TABLE Object
    ObjectType   TINYBLOB     NOT NULL,
    ObjectName   TINYBLOB     NOT NULL,
    ObjectSource TINYBLOB     NOT NULL,
+   ObjectUUID   TINYBLOB     NOT NULL,
+   ObjectSize   bigint       NOT NULL,
    primary key (ObjectId)
 );
 
index 9293b09ed0ac570a31e157259c6afc8f1a9826cc..9c7313dd6eefe6f5af76226aa094ba5504b01ab3 100644 (file)
@@ -55,6 +55,8 @@ CREATE TABLE Object
    ObjectType   text     not null,
    ObjectName   text     not null,
    ObjectSource text     not null,
+   ObjectUUID   text     not null,
+   ObjectSize   bigint   not null,
    primary key (ObjectId)
 );
 
index 3a95badfd45ab2275422cc3c5c584c653d0e146b..3b0034cc09a1a8672631d226601e35500e834c2b 100644 (file)
@@ -52,6 +52,8 @@ CREATE TABLE Object
    ObjectType   text     not null,
    ObjectName   text     not null,
    ObjectSource text     not null,
+   ObjectUUID   text     not null,
+   ObjectSize   integer  not null,
    primary key (ObjectId)
 );
 
index 34cdeaa4734e43b6a9e064a9f4068bbdb1cac95a..c920c8fdd184b512330e7f03b942902c2bc7fd7f 100644 (file)
@@ -458,6 +458,8 @@ CREATE TABLE Object
    ObjectType   TINYBLOB     NOT NULL,
    ObjectName   TINYBLOB     NOT NULL,
    ObjectSource TINYBLOB     NOT NULL,
+   ObjectUUID   TINYBLOB     NOT NULL,
+   ObjectSize   BIGINT       NOT NULL,
    primary key (ObjectId)
 );
 
index cb12ba2c0e2f4bd442b89c8f7a4abdc730784dfe..c882ca8cf1d7d91530420fc476f35ae784a625ff 100644 (file)
@@ -526,6 +526,8 @@ CREATE TABLE Object
    ObjectType   text     not null,
    ObjectName   text     not null,
    ObjectSource text     not null,
+   ObjectUUID   text     not null,
+   ObjectSize   bigint   not null,
    primary key (ObjectId)
 );
 
index 663bbad2604b471ca6d47dc5418ffd27ee2026df..7f9e68836bf5424d4f6fb7ac1f2c08e17d60a879 100644 (file)
@@ -276,6 +276,8 @@ CREATE TABLE Object
    ObjectType   text     not null,
    ObjectName   text     not null,
    ObjectSource text     not null,
+   ObjectUUID   text     not null,
+   ObjectSize   integer  not null,
    primary key (ObjectId)
 );
 
index d434f4344b81ff4ca5069204e8728c08197369b2..8eafe7bb91b8ad36fc5a2d7070b8e2b89bf85403 100644 (file)
@@ -65,6 +65,8 @@ CREATE TABLE Object
    ObjectType   TINYBLOB     NOT NULL,
    ObjectName   TINYBLOB     NOT NULL,
    ObjectSource TINYBLOB     NOT NULL,
+   ObjectUUID   TINYBLOB     NOT NULL,
+   ObjectSize   BIGINT       NOT NULL,
    primary key (ObjectId)
 );
 
index ba2aeb8996484ff70e49aac9c3d15ce743ce885f..016f46e6da7f72a3d3cf3224a8a75016ee111f79 100644 (file)
@@ -64,6 +64,8 @@ CREATE TABLE Object
    ObjectType   text     not null,
    ObjectName   text     not null,
    ObjectSource text     not null,
+   ObjectUUID   text     not null,
+   ObjectSize   bigint   not null,
    primary key (ObjectId)
 );