From 9995c7d1702092f99a698475ef8e53e8b07b58f7 Mon Sep 17 00:00:00 2001 From: Karli Date: Mon, 18 Aug 2025 15:10:25 +0300 Subject: [PATCH] feat(MED-123): fix medreport.notifications.body only allows 5000 chars, cannot log longer emails --- .../migrations/20250818150655_notification_max_length_fix.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 supabase/migrations/20250818150655_notification_max_length_fix.sql diff --git a/supabase/migrations/20250818150655_notification_max_length_fix.sql b/supabase/migrations/20250818150655_notification_max_length_fix.sql new file mode 100644 index 0000000..e95d7d3 --- /dev/null +++ b/supabase/migrations/20250818150655_notification_max_length_fix.sql @@ -0,0 +1,2 @@ +-- Increase the body column limit for notifications to support larger email content (up to 128KB) +ALTER TABLE medreport.notifications ALTER COLUMN body TYPE VARCHAR(131072);