상황
A journaling application needs a relational schema to track users, their journals and entries, tags, and file attachments.
이 도면에 담긴 내용
그 이면의 의사결정을 읽어 보세요.
01
Composite primary key in EntryTag models many-to-many between entries and tags.
02
Attachments reference entries directly for one-to-many attachments.
03
User ownership cascades through journals to entries instead of direct user-entry link.
When to reuse: any personal journaling, note-taking, or content-collection app needing tags and attachments.