fix(seed): make demo EDM recipients deliverable via owner plus-addressing (V56)

All @kintex.test seed addresses bounce now that live send is open.
Replace them with ythong86+<registrationId>@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 <noreply@anthropic.com>
This commit is contained in:
zio 2026-07-14 07:13:02 +09:00
parent 1463a69dca
commit a03f9d4de8

View File

@ -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';