From 22fb7531bd8b8a6e30b0ce276add3a97c67ca376 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Mon, 30 Jun 2014 17:34:24 +0200 Subject: [PATCH] MT#7793 Explicitely set all event fields on insert Since exported_at is a timestamp, it might be filled automatically by mysql. --- lib/NGCP/Panel/Utils/Events.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/NGCP/Panel/Utils/Events.pm b/lib/NGCP/Panel/Utils/Events.pm index 1d243ceef7..9629dbc423 100644 --- a/lib/NGCP/Panel/Utils/Events.pm +++ b/lib/NGCP/Panel/Utils/Events.pm @@ -18,6 +18,8 @@ sub insert { old_status => $old // '', new_status => $new // '', timestamp => NGCP::Panel::Utils::DateTime::current_local->hires_epoch, + export_status => 'unexported', + exported_at => undef, }); }