Skip to content

Commit fb5fcbb

Browse files
committed
[#312]; chore: 마이그레이션 스크립트 수정
1 parent c6c3f1c commit fb5fcbb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/resources/db/migration/V21__replace_sender_email_with_reserved_by_user_id.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
-- 테이블들의 Collation을 utf8mb4_unicode_ci로 통일
2+
ALTER TABLE users CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
3+
ALTER TABLE mail_reservation_group CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
4+
ALTER TABLE mail CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
15
-- 실제 발송은 공용 계정(mail.sender)으로 나가므로 sender_email 계열 컬럼은 발신 주소가 아니라
26
-- "누가 예약했는지" 메타정보였음. 예약자 식별자(users.id)로 교체하고 이름/이메일은 조회 시점에 파생한다.
37
ALTER TABLE mail_reservation_group

0 commit comments

Comments
 (0)