Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uuid PK, FK 필드 추가 및 마이그레이션합니다. #93

Merged
merged 9 commits into from
Oct 1, 2024

Conversation

litsynp
Copy link
Contributor

@litsynp litsynp commented Sep 4, 2024

Tasks Done

uuid 필드 추가 및 마이그레이션합니다. PK와 FK 모두 대체하기 위한 필드입니다.

Todo

1. DB 마이그레이션

  • uuid 필드 추가 및 마이그레이션 (pk, fk) (이번 PR입니다.)
  • consider dual-writing on id and uuid, and XXX_id and XXX_uuid

2. 스키마 변경

  • uuid 필드를 NOT NULL, PRIMARY KEY로 변경
  • uuid 필드를 id 필드로 변경

영향도

클라이언트에서 id 타입을 integer에서 string으로 바꿔야 합니다.

@litsynp litsynp added the feat New feature label Sep 4, 2024
@litsynp litsynp self-assigned this Sep 4, 2024
@litsynp litsynp changed the base branch from epic/uuidv7 to main October 1, 2024 09:16
@litsynp litsynp requested a review from JoeCP17 October 1, 2024 09:16
@litsynp litsynp marked this pull request as ready for review October 1, 2024 09:16
Copy link
Contributor

@JoeCP17 JoeCP17 left a comment

Choose a reason for hiding this comment

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

LGMT 고생하셨습니다

라이브 리뷰 완료

@litsynp litsynp merged commit f516d51 into main Oct 1, 2024
1 check passed
@litsynp litsynp deleted the feat/uuidv7 branch October 1, 2024 09:18
@kevinkim2586
Copy link

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants