account, reaction_history 엔티티 unique index 네이밍 변경 #20
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.
관련 이슈
Detail
account
,reaction_history
테이블에 unique index 적용 시, 현재index_unique_01
,index_unique_02
로 네이밍을 했는데,그래도 좀 더 명확한 이름을 정하는게 좋을 것 같아서
ux_account_social_info
,ux_reaction_target
로 변경하려고 합니다.말씀 주신대로 index 네이밍에 명확한 규칙은 없는 것 같고, 해당 글 에 따르면
접두어
-테이블_이름
-컬럼_이름
형식으로 보통 표현하는 것 같습니다.다만 jdbc 에서 ddl 생성 시, 인덱스 명에 kebab case 지원를 허용하지 않는 것 같고, 명확한 규칙이 없는 만큼 각 unique index 가 좀 더 의미를 나타낼 수 있도록 각각
ux_account_social_info
,ux_reaction_user_and_target
으로 변경했습니다