diff --git a/components/db_ido_mysql/schema/upgrade/.gitignore b/components/db_ido_mysql/schema/upgrade/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/components/db_ido_mysql/schema/upgrade/mysql-upgrade-2.0.2.sql b/components/db_ido_mysql/schema/upgrade/mysql-upgrade-2.0.2.sql new file mode 100644 index 000000000..8bd871b1a --- /dev/null +++ b/components/db_ido_mysql/schema/upgrade/mysql-upgrade-2.0.2.sql @@ -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 = ''; diff --git a/components/db_ido_pgsql/schema/upgrade/.gitignore b/components/db_ido_pgsql/schema/upgrade/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/components/db_ido_pgsql/schema/upgrade/pgsql-upgrade-2.0.2.sql b/components/db_ido_pgsql/schema/upgrade/pgsql-upgrade-2.0.2.sql new file mode 100644 index 000000000..8bd871b1a --- /dev/null +++ b/components/db_ido_pgsql/schema/upgrade/pgsql-upgrade-2.0.2.sql @@ -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 = '';