]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Add FileIndex to Object table for better VirtualFull support
authorEric Bollengier <eric@baculasystems.com>
Mon, 30 May 2022 09:06:19 +0000 (11:06 +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 137b5f0a4af2e85427f7622c752773a8667727bf..73bc717731a7da6c6c41a9a2bd64e907bc1dca9d 100644 (file)
@@ -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,
index 6f00712fb25ccfc2bed114dad7c226a805c25216..5c31f9eea1850b6433562733a6e0428a8faf7ca3 100644 (file)
@@ -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,
index eafb1007c891e68bf7bc6f5626c3c8a7526b0d57..2f8b497f75312b79a4bd870af4d0bf32ca307118 100644 (file)
@@ -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,