diff --git a/db/migrations/00112_unify_publicreport.sql b/db/migrations/00112_unify_publicreport.sql index 44ebf39c..405af9ce 100644 --- a/db/migrations/00112_unify_publicreport.sql +++ b/db/migrations/00112_unify_publicreport.sql @@ -103,9 +103,9 @@ INSERT INTO publicreport.report ( public_id, created, status, - COALESCE(reporter_name, ''), - COALESCE(reporter_email, ''), - COALESCE(reporter_phone, ''), + reporter_name, + reporter_email, + reporter_phone, reporter_contact_consent, address_raw, address_number, @@ -130,9 +130,9 @@ SELECT public_id, created, status, - reporter_name, - reporter_email, - reporter_phone, + COALESCE(reporter_name, ''), + COALESCE(reporter_email, ''), + COALESCE(reporter_phone, ''), reporter_contact_consent, address_raw, address_number,