Skip to content

Commit

Permalink
DB IDO: Fix PostgreSQL schema file
Browse files Browse the repository at this point in the history
refs #7765
  • Loading branch information
Michael Friedrich committed Feb 16, 2015
1 parent 27788d1 commit e4c5c9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/db_ido_pgsql/schema/pgsql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit e4c5c9f

Please sign in to comment.