mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
schema/mysql: prepare a migration for this feature
This commit is contained in:
parent
a735df89a0
commit
fb5f0bb9f9
@ -0,0 +1,8 @@
|
||||
UPDATE director_deployment_log dl
|
||||
JOIN icinga_endpoint e ON dl.peer_identity = e.host
|
||||
SET dl.peer_identity = e.object_name
|
||||
WHERE dl.peer_identity != e.object_name;
|
||||
|
||||
INSERT INTO director_schema_migration
|
||||
(schema_version, migration_time)
|
||||
VALUES (XXX, NOW());
|
Loading…
x
Reference in New Issue
Block a user