Fix IDO MySQL schema version (as in v2.11 upgrade)

This commit is contained in:
Alexander A. Klimov 2021-06-30 18:15:36 +02:00
parent 4373acf8ed
commit e9118d6b09
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ REGISTER_STATSFUNCTION(IdoMysqlConnection, &IdoMysqlConnection::StatsFunc);
const char * IdoMysqlConnection::GetLatestSchemaVersion() const noexcept
{
return "1.14.3";
return "1.15.0";
}
const char * IdoMysqlConnection::GetCompatSchemaVersion() const noexcept

View File

@ -1660,7 +1660,7 @@ CREATE INDEX idx_comments_remove ON icinga_comments (object_id, entry_time);
-- -----------------------------------------
-- set dbversion
-- -----------------------------------------
INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.14.3', NOW(), NOW())
ON DUPLICATE KEY UPDATE version='1.14.3', modify_time=NOW();
INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.15.0', NOW(), NOW())
ON DUPLICATE KEY UPDATE version='1.15.0', modify_time=NOW();