blob: 382f9373382d1593ccd362c14b9c973026c08607 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
ALTER TABLE icinga_service
DROP FOREIGN KEY icinga_host;
ALTER TABLE icinga_service
ADD CONSTRAINT icinga_service_host
FOREIGN KEY host (host_id)
REFERENCES icinga_host (id)
ON DELETE CASCADE
ON UPDATE CASCADE;
INSERT INTO director_schema_migration
SET migration_time = NOW(),
schema_version = 74;
|