From: Michael Friedrich Date: Wed, 17 Jun 2015 14:11:21 +0000 (+0200) Subject: Fix wrong timestamp w/ timezone format in DB IDO PGSQL schema X-Git-Tag: v2.4.0~594 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6c5f58decd82ecf403b3d46d9067a9a61661b5c;p=icinga2 Fix wrong timestamp w/ timezone format in DB IDO PGSQL schema refs #9027 --- diff --git a/lib/db_ido_pgsql/schema/pgsql.sql b/lib/db_ido_pgsql/schema/pgsql.sql index e68a6493c..9d1c1db6e 100644 --- a/lib/db_ido_pgsql/schema/pgsql.sql +++ b/lib/db_ido_pgsql/schema/pgsql.sql @@ -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,