Skip to content

[Feat] 밴드 생성 요청에 대한 검수 단계 추가 - #412

Merged
Joonseok-Lee merged 21 commits into
devfrom
feat/#411-band-verification
Aug 29, 2026
Merged

Joonseok-Lee merged 21 commits into
devfrom
feat/#411-band-verification

Conversation

@Joonseok-Lee

Copy link
Copy Markdown
Contributor

🔎 관련 이슈

📋 작업 내용

  • 밴드 생성 요청 단계에 디스코드 봇 검수 내용 추가
  • 밴드 생성 요청 시 알림, 생성 요청이 승인/거절되었을 시 알림 기능을 FCM으로 전달
  • 기타 패키지에서 밴드 쿼리하던 내용에 밴드 생성 상태를 필터링하도록 추가
    • 단, 생성한 자신일 경우 프로필 등 조회는 가능


💡 알림

  • DISCORD_BOT_TOKEN, DISCORD_VERIFY_CHANNEL_ID 를 환경변수에 추가 필요


✅ 체크리스트

  • 테스트 케이스 통과됨
  • 관련 문서와 코드 내용이 동일함
    • 엔드포인트 체크
    • Http Method 체크


📸 스크린샷

image

@Joonseok-Lee Joonseok-Lee self-assigned this Aug 23, 2026
@Joonseok-Lee Joonseok-Lee added the ✨ Feature 기능 개발 label Aug 23, 2026

@LeeJuYoung12 LeeJuYoung12 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

나머지는 문제 없어보입니다.

Comment on lines +19 to +25
@Table(
name = "Band",
uniqueConstraints = @UniqueConstraint(
name = "uk_band_name_status",
columnNames = {"name", "status"}
)
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

밴드 네임의 유니크를 빼고 해당부분으로 유니크 제약거는데 status가 pending, accepted 2개뿐이기에 필요할까라는 생각이 드는데 어떤 목적이 있을까요?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

기존에 더미로 존재하는 밴드는 이미 ACCEPTED로 지정하게 되어 있는데, 그 밴드들이 새로 가입 신청을 하게 되면 새로 band 테이블에 인스턴스로 추가하게 되어있습니다. 그렇다면 유니크 제약 조건에 걸리게 되어 무조건 덮어씌워야 하는데 그 부분이 걸려서 상태, 이름을 섞어서 유니크 제약조건을 걸었습니다.

@Joonseok-Lee
Joonseok-Lee merged commit 669d4bd into dev Aug 29, 2026
2 checks passed
@Joonseok-Lee
Joonseok-Lee deleted the feat/#411-band-verification branch October 26, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature 기능 개발

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants