Skip to content

feat: add marketing consent API - #175

Merged
Hyunstone merged 3 commits into
developfrom
fix/marketing-consent-api
May 26, 2026
Merged

feat: add marketing consent API#175
Hyunstone merged 3 commits into
developfrom
fix/marketing-consent-api

Conversation

@Hyunstone

Copy link
Copy Markdown
Collaborator

Summary

  • 광고/마케팅 동의 조회 API를 추가했습니다.
  • 광고/마케팅 동의 일부 변경을 위한 PATCH API를 추가했습니다.
  • 기존 AgreeUser/user_agree 레거시 모델을 ConsentItem/UserConsent 모델로 대체했습니다.
  • 동의 모델 변경에 맞춰 baseline/seed SQL과 ERD lifecycle 문서를 갱신했습니다.

Tests

  • sh gradlew test
  • code-review-helper: concrete finding 없음
  • final-review: 완료 가능하지만 운영 DB migration 적용 순서 risk 있음

Risk

  • 운영 DB가 이미 존재하는 환경에서는 user_agree 제거 및 consent_item/user_consent 추가를 위한 별도 마이그레이션 적용 순서 확인이 필요합니다.
  • 기존 untracked 작업 디렉터리들은 이번 PR 범위에서 제외했습니다.

Follow-up

  • 운영 배포 시 DB migration 파일/절차가 필요한지 확인해야 합니다.

@Hyunstone
Hyunstone force-pushed the fix/marketing-consent-api branch from 0bb79f4 to accd77c Compare May 26, 2026 08:22
@Hyunstone
Hyunstone merged commit 81520a8 into develop May 26, 2026
2 checks passed
@Hyunstone
Hyunstone deleted the fix/marketing-consent-api branch May 26, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant