Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(macrodb): Remove backfill operation from db migration (#445)

Evan Hutnik111a1f1495e0
diff --git a/rust/cloud-storage/macro_db_client/migrations/20251202193438_email_message_names.sql b/rust/cloud-storage/macro_db_client/migrations/20251202193438_email_message_names.sql
index e7b04f93c1..3495a75338 100644
--- a/rust/cloud-storage/macro_db_client/migrations/20251202193438_email_message_names.sql
+++ b/rust/cloud-storage/macro_db_client/migrations/20251202193438_email_message_names.sql
@@ -3,15 +3,3 @@ ALTER TABLE public.email_messages
ALTER TABLE public.email_message_recipients
ADD COLUMN name VARCHAR(255);
-
-UPDATE public.email_messages m
-SET from_name = c.name
- FROM public.email_contacts c
-WHERE m.from_contact_id = c.id
- AND m.from_name IS NULL;
-
-UPDATE public.email_message_recipients mr
-SET name = c.name
- FROM public.email_contacts c
-WHERE mr.contact_id = c.id
- AND mr.name IS NULL;
\ No newline at end of file