Fix wrong timestamp w/ timezone format in DB IDO PGSQL schema

refs #9027
This commit is contained in:
Michael Friedrich 2015-06-17 16:11:21 +02:00
parent 0763f4ed4b
commit f6c5f58dec

View File

@ -1303,7 +1303,7 @@ CREATE TABLE icinga_service_contacts (
CREATE TABLE icinga_statehistory ( CREATE TABLE icinga_statehistory (
statehistory_id bigserial, statehistory_id bigserial,
instance_id bigint default 0, 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, state_time_usec INTEGER default 0,
object_id bigint default 0, object_id bigint default 0,
state_change INTEGER default 0, state_change INTEGER default 0,
@ -1328,9 +1328,9 @@ CREATE TABLE icinga_statehistory (
CREATE TABLE icinga_systemcommands ( CREATE TABLE icinga_systemcommands (
systemcommand_id bigserial, systemcommand_id bigserial,
instance_id bigint default 0, 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, 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, end_time_usec INTEGER default 0,
command_line TEXT default '', command_line TEXT default '',
timeout INTEGER default 0, timeout INTEGER default 0,
@ -1405,7 +1405,7 @@ CREATE TABLE icinga_endpointstatus (
endpointstatus_id bigserial, endpointstatus_id bigserial,
instance_id bigint default 0, instance_id bigint default 0,
endpoint_object_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, identity text DEFAULT NULL,
node text DEFAULT NULL, node text DEFAULT NULL,
is_connected integer default 0, is_connected integer default 0,