Repository navigation
[DOCS] Supervisor와 DB 저장 계약 동기화 (#150) - #291
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Related Issue
📝 Summary
Supervisor 응답과 DB 스키마 문서의 질문 저장 구조 및 enum 값이 서로 달라 백엔드 구현 시 데이터가 누락되거나 2·3차 질문 저장이 실패할 수 있습니다.
Supervisor 계약을 기준으로 다차 질문 제약, 메뉴 매칭 타입 변환, 복수 사장님 카드 저장 방식을 DB 문서에 반영했습니다.
🚀 Key Changes
owner_verification_requestsUNIQUE 조건에round추가(scan_session_id, card_id)UNIQUE 조건 명시match_type과 DBmenu_match_type사이의 저장 매핑 추가owner_card를 복수owner_cardsJSONB 배열로 변경하도록 백엔드 요청 추가💥 Breaking Changes
owner_verification_requests의 기존 UNIQUE 제약 변경 필요menu_analyses.owner_card를owner_cardsJSONB 배열 구조로 변경 필요✅ Self-Check List
git diff --check가 통과했습니다.