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

[BE] fix: ID 생성 전략을 IDENTITY로 설정 #778

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

donghoony
Copy link
Contributor

@donghoony donghoony commented Oct 7, 2024

테이블 생성 전략이 TABLE이었는데, 이렇게 되면 하이버네이트 내부에서 hibernate_sequence 테이블을 암시적으로 생성합니다. 왜 이때는 TABLE로 했는지 모르겠는데 IDENTITY로도 충분할 듯해요.

image

스키마 밸리데이션 실패 (hibernate_sequence가 어플리케이션에서는 존재하나 데이터베이스에는 존재하지 않음)

Copy link
Contributor

@nayonsoso nayonsoso left a comment

Choose a reason for hiding this comment

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

동의합니다! 🥉✌️

Copy link
Contributor

@Kimprodp Kimprodp left a comment

Choose a reason for hiding this comment

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

ap

Copy link

github-actions bot commented Oct 7, 2024

Test Results

135 tests  ±0   135 ✅ ±0   4s ⏱️ ±0s
 49 suites ±0     0 💤 ±0 
 49 files   ±0     0 ❌ ±0 

Results for commit 556ec9c. ± Comparison against base commit 370e8d6.

@donghoony donghoony merged commit 6101019 into develop Oct 7, 2024
6 checks passed
@donghoony donghoony deleted the be/fix/table-id-strategy branch October 10, 2024 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants