Merge pull request #9138 from Icinga/bugfix/mysql-schema-versions

Make MySQL schema version in full schema file and upgrade files consistent
This commit is contained in:
Julian Brost 2022-01-10 09:54:38 +01:00 committed by GitHub
commit 3d04b04172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,15 @@
-- -----------------------------------------
-- upgrade path for Icinga 2.12.7
--
-- -----------------------------------------
-- 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.0', NOW(), NOW()) ON DUPLICATE KEY UPDATE version='1.15.0', modify_time=NOW();

View File

@ -1,5 +1,5 @@
-- ----------------------------------------- -- -----------------------------------------
-- upgrade path for Icinga 2.13.1 -- upgrade path for Icinga 2.13.3
-- --
-- ----------------------------------------- -- -----------------------------------------
-- Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ -- Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+