From: Michal Rakowski Date: Fri, 16 Oct 2020 13:12:07 +0000 (+0200) Subject: Fix for update mysql script with ObjectCategory index X-Git-Tag: Release-11.3.2~911 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78c12f51285aa39f076714f70846ae3960f05954;p=thirdparty%2Fbacula.git Fix for update mysql script with ObjectCategory index --- diff --git a/bacula/updatedb/update_mysql_tables_1022_to_1023.in b/bacula/updatedb/update_mysql_tables_1022_to_1023.in index 83599c09e..22f8ac6ee 100644 --- a/bacula/updatedb/update_mysql_tables_1022_to_1023.in +++ b/bacula/updatedb/update_mysql_tables_1022_to_1023.in @@ -29,7 +29,7 @@ ALTER TABLE FileMedia ADD FileMediaId integer auto_increment primary key; ALTER TABLE JobHisto MODIFY COLUMN JobId int PRIMARY KEY AUTO_INCREMENT; ALTER TABLE Version MODIFY COLUMN VersionId int PRIMARY KEY; ALTER TABLE Object ADD ObjectCategory TINYBLOB NOT NULL; -create index object_type_idx on Object (ObjectType(255)); +create index object_category_idx on Object (ObjectCategory(255)); UPDATE Version SET VersionId=1023; END-OF-DATA then