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

gorm DB 관계 업데이트 시 제외 처리가 안 되어 중복 레코드 삽입시도되는 버그 수정 #472

Merged
merged 1 commit into from
May 7, 2024

Conversation

sangkenlee
Copy link
Contributor

gorm 관계 테이블 업데이트 시 Omit 처리를 하지 않으면 관계 테이블 참조하고 있는 전체 값에 대한 추가 시도로 duplicate key 에러가 발생할 수 있어 이를 수정

@ktkfree ktkfree merged commit 624efe6 into openinfradev:develop May 7, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants