mirror of https://github.com/Icinga/icinga2.git
Merge pull request #8956 from Icinga/Al2Klimov-patch-3
Fix IDO MySQL schema version
This commit is contained in:
commit
577cf94b59
|
@ -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();
|
|
@ -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.15.0', NOW(), NOW())
|
||||
ON DUPLICATE KEY UPDATE version='1.15.0', modify_time=NOW();
|
||||
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();
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue