mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Cast the start/end times with timezone.
This commit is contained in:
parent
98a4e85db4
commit
a296f64696
@ -249,8 +249,8 @@ def copy_tables(since, full_path):
|
||||
main_jobevent.job_id,
|
||||
main_jobevent.host_id,
|
||||
main_jobevent.host_name,
|
||||
CAST(main_jobevent.event_data::json->>'start' AS TIMESTAMP) AS start,
|
||||
CAST(main_jobevent.event_data::json->>'end' AS TIMESTAMP) AS end,
|
||||
CAST(main_jobevent.event_data::json->>'start' AS TIMESTAMP WITH TIME ZONE) AS start,
|
||||
CAST(main_jobevent.event_data::json->>'end' AS TIMESTAMP WITH TIME ZONE) AS end,
|
||||
main_jobevent.event_data::json->'duration' AS duration,
|
||||
main_jobevent.event_data::json->'res'->'warnings' AS warnings,
|
||||
main_jobevent.event_data::json->'res'->'deprecations' AS deprecations
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user