edited_by 매핑과 쓰기를 걷어내고 created_by 하나로 둔다 (3단계) - #1065
Merged
Conversation
- 2단계까지 아무도 읽지 않게 된 edited_by 를 엔티티에서 떼고 수기 팩토리가 created_by 만 적게 했다. 컬럼은 DB 에 남긴다 - DROP 을 같이 실으면 옛 코드가 스냅샷을 읽는 모든 API 가 배포 창에서 깨져 promote 를 한 번 더 나눠야 하고, 안 읽는 컬럼이 남는 비용은 없다. DROP 은 옛 코드가 사라진 뒤 아무 릴리즈에나 한 줄로 붙인다 - 이로써 1·2·3 단계를 한 릴리즈로 promote 할 수 있고, 배포 창의 영향은 1+2 와 같다(등록 INSERT 만) - 테스트 픽스처의 editedBy 인자·단언을 createdBy 로 옮겼다
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다. |
m-a-king
added a commit
that referenced
this pull request
Sep 9, 2026
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.
Situation
edited_by는 아무도 읽지 않고created_by와 같은 값을 함께 적기만 하는 컬럼이 됐다.Task
edited_by를 완전히 걷어내되 컬럼은 남겨, 1·2·3 단계를 한 번에 promote 해도 배포 창의 영향이 1+2 와 같게 한다.Action
ItemSnapshot에서editedBy생성자 인자·프로퍼티·매핑을 제거했다. 수기 팩토리는createdBy만 적는다.edited_by는 DB 에 남는다. 안 읽는 컬럼이 남는 비용은 없고, DROP 은 옛 코드가 사라진 뒤 아무 릴리즈에나 한 줄 마이그레이션으로 붙인다(엔티티 주석에 명시).editedBy인자와 단언을createdBy로 옮겼다.item_idNOT NULL)Result
edited_byDROP 한 줄(나중 아무 릴리즈), 상품별 버전 전체 조회 상한(보류).연관 이슈