From 02f31cb444b1f423359c094c6cc767c01ed54075 Mon Sep 17 00:00:00 2001 From: chop Date: Wed, 3 Dec 2025 20:46:27 +0100 Subject: [PATCH] fix: update notes handling in contact migration to preserve original contact info --- migrate-project-contacts.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrate-project-contacts.mjs b/migrate-project-contacts.mjs index 1ddf75b..adcc0db 100644 --- a/migrate-project-contacts.mjs +++ b/migrate-project-contacts.mjs @@ -99,7 +99,7 @@ try { // If we couldn't extract structured data, use project name and put original text in notes if (!phone && !email) { // No structured contact info found, put everything in notes - notes = `Original contact info: ${contactText}`; + notes = `${contactText}`; name = project.project_name; } else if (!name) { // We have phone/email but no clear name @@ -140,7 +140,7 @@ try { name, phone || null, email || null, - notes || `Migrated from project: ${project.project_name}` + notes || `Przeniesiono z projektu: ${project.project_name}` ); contactId = result.lastInsertRowid; created++;