From e4c5c9fe76e001cc17d4cd90038ea0673833966f Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 16 Feb 2015 11:38:00 +0100 Subject: [PATCH] DB IDO: Fix PostgreSQL schema file refs #7765 --- lib/db_ido_pgsql/schema/pgsql.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/db_ido_pgsql/schema/pgsql.sql b/lib/db_ido_pgsql/schema/pgsql.sql index f9d208b04..0c90c1249 100644 --- a/lib/db_ido_pgsql/schema/pgsql.sql +++ b/lib/db_ido_pgsql/schema/pgsql.sql @@ -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);