schema: reset unnecessary command argument format

...definitions
This commit is contained in:
Thomas Gelf 2018-10-15 20:27:54 +02:00
parent 5404e32f6d
commit cb9366c5f5
4 changed files with 26 additions and 2 deletions

View File

@ -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());

View File

@ -1771,4 +1771,4 @@ CREATE TABLE icinga_timeperiod_exclude (
INSERT INTO director_schema_migration
(schema_version, migration_time)
VALUES (153, NOW());
VALUES (154, NOW());

View File

@ -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());

View File

@ -2068,4 +2068,4 @@ CREATE TABLE icinga_timeperiod_exclude (
INSERT INTO director_schema_migration
(schema_version, migration_time)
VALUES (153, NOW());
VALUES (154, NOW());