From: Eric Bollengier Date: Mon, 30 May 2022 09:06:19 +0000 (+0200) Subject: Add FileIndex to Object table for better VirtualFull support X-Git-Tag: Beta-15.0.0~465 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f175c3703575b9f78e229fe8ca24f03731dd113;p=thirdparty%2Fbacula.git Add FileIndex to Object table for better VirtualFull support --- diff --git a/bacula/src/cats/make_mysql_tables.in b/bacula/src/cats/make_mysql_tables.in index 137b5f0a4..73bc71773 100644 --- a/bacula/src/cats/make_mysql_tables.in +++ b/bacula/src/cats/make_mysql_tables.in @@ -130,6 +130,7 @@ CREATE TABLE Object Path BLOB NOT NULL, Filename BLOB NOT NULL, PluginName BLOB NOT NULL, + FileIndex integer not null default 0, ObjectCategory TINYBLOB NOT NULL, ObjectType TINYBLOB NOT NULL, diff --git a/bacula/src/cats/make_postgresql_tables.in b/bacula/src/cats/make_postgresql_tables.in index 6f00712fb..5c31f9eea 100644 --- a/bacula/src/cats/make_postgresql_tables.in +++ b/bacula/src/cats/make_postgresql_tables.in @@ -158,6 +158,7 @@ CREATE TABLE Object Path text not null, Filename text not null, PluginName text not null, + FileIndex integer not null default 0, ObjectCategory text not null, ObjectType text not null, diff --git a/bacula/src/cats/make_sqlite3_tables.in b/bacula/src/cats/make_sqlite3_tables.in index eafb1007c..2f8b497f7 100644 --- a/bacula/src/cats/make_sqlite3_tables.in +++ b/bacula/src/cats/make_sqlite3_tables.in @@ -107,6 +107,7 @@ CREATE TABLE Object Path text not null, Filename text not null, PluginName text not null, + FileIndex integer not null default 0, ObjectCategory text not null, ObjectType text not null,