좋아요erd
테이블 (4)
COMMENT
- commentID (Key) — long — 기본 키 — NOT NULL
- content (Field) — String
- done (Field2) — boolean
- username (Field3) — String
- createdAt (Field4) — String
- editCheck (Field5) — boolean
- postId (Key2) — long — 외래 키 → POST.postId — NOT NULL
LIKE
- postId (Key2) — long — 외래 키 → POST.postId — NOT NULL
- userId (Key) — long — 외래 키 → USER.userId — NOT NULL
POST
- postId (Key) — long — 기본 키 — NOT NULL
- title (Field) — test
- imageUrl (Field2) — String
- createdAt (Field3) — String
- username (Field4) — String
- Field5
USER
- userId (Key) — long — 기본 키 — NOT NULL
- nickname (Field2) — String
- password (Field3) — int
- username (Field1) — String