]> granicus.if.org Git - icinga2/commitdiff
DB IDO: Fix PostgreSQL schema file
authorMichael Friedrich <michael.friedrich@netways.de>
Mon, 16 Feb 2015 10:38:00 +0000 (11:38 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Mon, 16 Feb 2015 10:38:00 +0000 (11:38 +0100)
refs #7765

lib/db_ido_pgsql/schema/pgsql.sql

index f9d208b04f9c05a6091a4be5a9d832126a339c74..0c90c12494e54a49ee97ebba19cf5d288e60ad74 100644 (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);