[Improvement] TagCode 도입 — 태그 식별자를 4자리 랜덤 코드로 변경 #269
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_API#269
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
배경
현재 태그 식별은 DB 글로벌 auto-increment PK(
tag_id)를 사용한다. 서비스A 태그가 1,2,3이면 서비스B 태그는 4,5가 되어 서비스별 일관성이 없고, 태그 수가 늘어나면 번호가 무한정 커진다.변경 내용
[0-9a-zA-Z]62종 문자, 서비스당 유니크tag_code(string)로 통신, 서버가tag_code ↔ tag_id변환Device.Tags컬럼에는 여전히tag_id(long) JSON 저장작업 체크리스트