schema: fix object_type for eventually erraneous
...service_set templates
This commit is contained in:
parent
d010d7d33a
commit
fc9d40ceff
|
@ -0,0 +1,7 @@
|
|||
UPDATE icinga_service_set
|
||||
SET object_type = 'template'
|
||||
WHERE object_type = 'object' AND host_id IS NULL;
|
||||
|
||||
INSERT INTO director_schema_migration
|
||||
(schema_version, migration_time)
|
||||
VALUES (141, NOW());
|
|
@ -1563,4 +1563,4 @@ CREATE TABLE icinga_user_resolved_var (
|
|||
|
||||
INSERT INTO director_schema_migration
|
||||
(schema_version, migration_time)
|
||||
VALUES (140, NOW());
|
||||
VALUES (141, NOW());
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
UPDATE icinga_service_set
|
||||
SET object_type = 'template'
|
||||
WHERE object_type = 'object' AND host_id IS NULL;
|
||||
|
||||
INSERT INTO director_schema_migration
|
||||
(schema_version, migration_time)
|
||||
VALUES (141, NOW());
|
|
@ -1841,4 +1841,4 @@ CREATE INDEX user_resolved_var_schecksum ON icinga_user_resolved_var (checksum);
|
|||
|
||||
INSERT INTO director_schema_migration
|
||||
(schema_version, migration_time)
|
||||
VALUES (140, NOW());
|
||||
VALUES (141, NOW());
|
||||
|
|
Loading…
Reference in New Issue