From b120c523099a689b120093cd759eceeb89c14c27 Mon Sep 17 00:00:00 2001 From: Olivier Desenfans Date: Tue, 3 Oct 2023 16:57:30 +0200 Subject: [PATCH] use to_timestamp --- .../migrations/versions/0017_f9fa39b6bdef_vm_instances.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/migrations/versions/0017_f9fa39b6bdef_vm_instances.py b/deployment/migrations/versions/0017_f9fa39b6bdef_vm_instances.py index fd44ae1ac..fd8e1df21 100644 --- a/deployment/migrations/versions/0017_f9fa39b6bdef_vm_instances.py +++ b/deployment/migrations/versions/0017_f9fa39b6bdef_vm_instances.py @@ -29,7 +29,7 @@ def reprocess_failed_instance_messages(): rm.message ->> 'signature', rm.message ->> 'item_type', rm.message ->> 'item_content', - (rm.message ->> 'time')::timestamptz, + to_timestamp(rm.message ->> 'time'), rm.message ->> 'channel', ms.reception_time, true,