diff --git a/schema/mysql-migrations/upgrade_154.sql b/schema/mysql-migrations/upgrade_154.sql new file mode 100644 index 00000000..08274b03 --- /dev/null +++ b/schema/mysql-migrations/upgrade_154.sql @@ -0,0 +1,12 @@ + +UPDATE icinga_command_argument +SET argument_format = NULL +WHERE argument_value IS NULL; + +UPDATE icinga_command_argument +SET set_if_format = NULL +WHERE set_if IS NULL; + +INSERT INTO director_schema_migration + (schema_version, migration_time) + VALUES (154, NOW()); diff --git a/schema/mysql.sql b/schema/mysql.sql index ae376bb7..b31de92f 100644 --- a/schema/mysql.sql +++ b/schema/mysql.sql @@ -1771,4 +1771,4 @@ CREATE TABLE icinga_timeperiod_exclude ( INSERT INTO director_schema_migration (schema_version, migration_time) - VALUES (153, NOW()); + VALUES (154, NOW()); diff --git a/schema/pgsql-migrations/upgrade_154.sql b/schema/pgsql-migrations/upgrade_154.sql new file mode 100644 index 00000000..08274b03 --- /dev/null +++ b/schema/pgsql-migrations/upgrade_154.sql @@ -0,0 +1,12 @@ + +UPDATE icinga_command_argument +SET argument_format = NULL +WHERE argument_value IS NULL; + +UPDATE icinga_command_argument +SET set_if_format = NULL +WHERE set_if IS NULL; + +INSERT INTO director_schema_migration + (schema_version, migration_time) + VALUES (154, NOW()); diff --git a/schema/pgsql.sql b/schema/pgsql.sql index 63f2f72c..4b0bb250 100644 --- a/schema/pgsql.sql +++ b/schema/pgsql.sql @@ -2068,4 +2068,4 @@ CREATE TABLE icinga_timeperiod_exclude ( INSERT INTO director_schema_migration (schema_version, migration_time) - VALUES (153, NOW()); + VALUES (154, NOW());