DB IDO: Fix PostgreSQL schema file

refs #7765
This commit is contained in:
Michael Friedrich 2015-02-16 11:38:00 +01:00
parent 27788d1fdc
commit e4c5c9fe76
1 changed files with 2 additions and 2 deletions

View File

@ -561,7 +561,7 @@ CREATE TABLE icinga_hostdependencies (
fail_on_up INTEGER default 0,
fail_on_down INTEGER default 0,
fail_on_unreachable INTEGER default 0,
CONSTRAINT PK_hostdependency_id PRIMARY KEY (hostdependency_id) ,
CONSTRAINT PK_hostdependency_id PRIMARY KEY (hostdependency_id)
) ;
CREATE INDEX idx_hostdependencies ON icinga_hostdependencies(instance_id,config_type,host_object_id,dependent_host_object_id,dependency_type,inherits_parent,fail_on_up,fail_on_down,fail_on_unreachable);
@ -1052,7 +1052,7 @@ CREATE TABLE icinga_servicedependencies (
fail_on_warning INTEGER default 0,
fail_on_unknown INTEGER default 0,
fail_on_critical INTEGER default 0,
CONSTRAINT PK_servicedependency_id PRIMARY KEY (servicedependency_id) ,
CONSTRAINT PK_servicedependency_id PRIMARY KEY (servicedependency_id)
) ;
CREATE INDEX idx_servicedependencies ON icinga_servicedependencies(instance_id,config_type,service_object_id,dependent_service_object_id,dependency_type,inherits_parent,fail_on_ok,fail_on_warning,fail_on_unknown,fail_on_critical);