From f66d40f28b5c88f2c1fbd6aff02a97ed81390e7a Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 18 Mar 2026 20:23:57 +0000 Subject: [PATCH] fix bad select in migration 112 --- db/migrations/00112_unify_publicreport.sql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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,