]> granicus.if.org Git - icinga2/commitdiff
Fix wrong timestamp w/ timezone format in DB IDO PGSQL schema
authorMichael Friedrich <michael.friedrich@netways.de>
Wed, 17 Jun 2015 14:11:21 +0000 (16:11 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Wed, 17 Jun 2015 14:11:21 +0000 (16:11 +0200)
refs #9027

lib/db_ido_pgsql/schema/pgsql.sql

index e68a6493ced4698441ff183c10797db13c6aeb45..9d1c1db6ed0a8e713056f7592ade2c2b71b99631 100644 (file)
@@ -1303,7 +1303,7 @@ CREATE TABLE  icinga_service_contacts (
 CREATE TABLE  icinga_statehistory (
   statehistory_id bigserial,
   instance_id bigint default 0,
-  state_time timestamp with time zone default '1970-01-01 00:00:00+00+00',
+  state_time timestamp with time zone default '1970-01-01 00:00:00+00',
   state_time_usec INTEGER  default 0,
   object_id bigint default 0,
   state_change INTEGER  default 0,
@@ -1328,9 +1328,9 @@ CREATE TABLE  icinga_statehistory (
 CREATE TABLE  icinga_systemcommands (
   systemcommand_id bigserial,
   instance_id bigint default 0,
-  start_time timestamp with time zone default '1970-01-01 00:00:00+00+00',
+  start_time timestamp with time zone default '1970-01-01 00:00:00+00',
   start_time_usec INTEGER  default 0,
-  end_time timestamp with time zone default '1970-01-01 00:00:00+00+00',
+  end_time timestamp with time zone default '1970-01-01 00:00:00+00',
   end_time_usec INTEGER  default 0,
   command_line TEXT  default '',
   timeout INTEGER  default 0,
@@ -1405,7 +1405,7 @@ CREATE TABLE  icinga_endpointstatus (
   endpointstatus_id bigserial,
   instance_id bigint default 0,
   endpoint_object_id bigint default 0,
-  status_update_time timestamp with time zone default '1970-01-01 00:00:00+00+00',
+  status_update_time timestamp with time zone default '1970-01-01 00:00:00+00',
   identity text DEFAULT NULL,
   node text DEFAULT NULL,
   is_connected integer default 0,