mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
schema: fix object_type for eventually erraneous
...service_set templates
This commit is contained in:
parent
d010d7d33a
commit
fc9d40ceff
7
schema/mysql-migrations/upgrade_141.sql
Normal file
7
schema/mysql-migrations/upgrade_141.sql
Normal file
@ -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());
|
||||
|
7
schema/pgsql-migrations/upgrade_141.sql
Normal file
7
schema/pgsql-migrations/upgrade_141.sql
Normal file
@ -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…
x
Reference in New Issue
Block a user