[SIX-274] 채팅방이 중복되어서 생성되지 않도록 하고, 인덱스를 추가하였습니다. #127
Merged
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.
🖊️ 1. Changes
멀티 유니크를 걸어서 (mission_chat_room_id, user_id)에 대한 유니크 키 멀티 인덱스
user_id로 조회하는 경우가 많아 user_id 인덱스
mission_chat_room_id로도 조회하는 경우가 있어 mission_chat_room_id 에도 인덱스를 걸어두었습니다.
🖼️ 2. Screenshot
❗️ 3. Issues
😌 4. To Reviewer
✅ 5. Plans
🙌 6. Checklist