From a03f9d4de8ef7ee723f279f717bfb6742623fee5 Mon Sep 17 00:00:00 2001 From: zio Date: Tue, 14 Jul 2026 07:13:02 +0900 Subject: [PATCH] fix(seed): make demo EDM recipients deliverable via owner plus-addressing (V56) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All @kintex.test seed addresses bounce now that live send is open. Replace them with ythong86+@gmail.com so live-send E2E actually delivers — every address routes to the owner's own inbox; no third-party real addresses are introduced. Idempotent (post-update the LIKE predicate matches nothing). Co-Authored-By: Claude Fable 5 --- .../db/migration/V56__demo_recipient_real_email.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/backend/src/main/resources/db/migration/V56__demo_recipient_real_email.sql diff --git a/src/backend/src/main/resources/db/migration/V56__demo_recipient_real_email.sql b/src/backend/src/main/resources/db/migration/V56__demo_recipient_real_email.sql new file mode 100644 index 0000000..37b48cd --- /dev/null +++ b/src/backend/src/main/resources/db/migration/V56__demo_recipient_real_email.sql @@ -0,0 +1,10 @@ +-- V56: 데모 수신자 이메일 실전달 정비 (소유자 지시 2026-07-14 "수신자 데이터 실제 이메일로 정비"). +-- 배경: EDM 수신자 원천(visitor_registration)의 시드 주소가 전부 @kintex.test — 운영 실발송 개방 후 +-- 실발송하면 전량 반송된다. 임의 타인 실주소 삽입은 금지(§0-3, 실발송 위험)이므로 +-- 소유자 소유 Gmail의 plus-addressing(ythong86+<등록ID>@gmail.com)으로 치환한다. +-- → 주소별로 구분 가능하고 전부 소유자 수신함으로 실전달되어 운영 발송 E2E 검증 가능. +-- 범위: @kintex.test 시드 114행 전량(행사당 2~7명). 실제 관람객이 입력한 다른 도메인 주소는 불변. +-- 멱등: 치환 후 '%@kintex.test' 매칭이 0이 되므로 재실행 no-op. +UPDATE visitor_registration + SET email = 'ythong86+' || id || '@gmail.com' + WHERE email LIKE '%@kintex.test';