Provide IDO MySQL schema version fix

... for fresh 2.13 installations which didn't make use of previous schema upgrades.
This commit is contained in:
Alexander Aleksandrovič Klimov 2021-08-05 13:46:07 +02:00 committed by GitHub
parent 815533b334
commit 1fbc15bebc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
-- -----------------------------------------
-- upgrade path for Icinga 2.13.1
--
-- -----------------------------------------
-- Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+
--
-- Please check https://docs.icinga.com for upgrading information!
-- -----------------------------------------
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
-- -------------
-- set dbversion
-- -------------
INSERT INTO icinga_dbversion (name, version, create_time, modify_time) VALUES ('idoutils', '1.15.1', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.15.1', modify_time=NOW();