Add MySQL/pgSQL upgrade files which fix name2 in the icinga_objects table

fixes #6646
This commit is contained in:
Gunnar Beutner 2014-07-23 10:25:26 +02:00
parent 4c8eb819e4
commit 1a361d834a
4 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,10 @@
-- -----------------------------------------
-- upgrade path for Icinga 2.0.2
--
-- -----------------------------------------
-- Copyright (c) 2014 Icinga Development Team (http://www.icinga.org)
--
-- Please check http://docs.icinga.org for upgrading information!
-- -----------------------------------------
UPDATE icinga_objects SET name2 = NULL WHERE name2 = '';

View File

@ -0,0 +1,10 @@
-- -----------------------------------------
-- upgrade path for Icinga 2.0.2
--
-- -----------------------------------------
-- Copyright (c) 2014 Icinga Development Team (http://www.icinga.org)
--
-- Please check http://docs.icinga.org for upgrading information!
-- -----------------------------------------
UPDATE icinga_objects SET name2 = NULL WHERE name2 = '';