mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +02:00
schema: reset unnecessary command argument format
...definitions
This commit is contained in:
parent
5404e32f6d
commit
cb9366c5f5
12
schema/mysql-migrations/upgrade_154.sql
Normal file
12
schema/mysql-migrations/upgrade_154.sql
Normal 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());
|
@ -1771,4 +1771,4 @@ CREATE TABLE icinga_timeperiod_exclude (
|
||||
|
||||
INSERT INTO director_schema_migration
|
||||
(schema_version, migration_time)
|
||||
VALUES (153, NOW());
|
||||
VALUES (154, NOW());
|
||||
|
12
schema/pgsql-migrations/upgrade_154.sql
Normal file
12
schema/pgsql-migrations/upgrade_154.sql
Normal 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());
|
@ -2068,4 +2068,4 @@ CREATE TABLE icinga_timeperiod_exclude (
|
||||
|
||||
INSERT INTO director_schema_migration
|
||||
(schema_version, migration_time)
|
||||
VALUES (153, NOW());
|
||||
VALUES (154, NOW());
|
||||
|
Loading…
x
Reference in New Issue
Block a user