스파르타
테이블 (5)
Admin (관리자)
- adimin Id (Key) — int — 기본 키 — NOT NULL
- Field
- Field2
- Field3
- Field4
- Field5
- Field6
- Field7
게시글 (Post)
- 포스트ID (post_id) — int — 기본 키 — NOT NULL
- 유저ID (user_id) — int — 외래 키 → 사용자.유저ID — NOT NULL
- 제목 (title) — text
- 내용 (content) — text
- 태그 (tag) — text
- 이미지 (image) — text
- 시간 (time) — text
댓글 (Comment)
- 댓글ID (comment_id) — int — 기본 키 — NOT NULL
- 포스트ID (post_id) — int — 외래 키 → 게시글.포스트ID — NOT NULL
- 유저ID (user_id) — int — 외래 키 → 게시글.유저ID — NOT NULL
- 댓글 (comment) — txet
사용자 (User)
- 유저ID (user_id) — int — 기본 키 — NOT NULL
- 이름 (nickname) — text
- 이메일 (email) — text
- 비밀번호 (password) — int
태그 (tag)
- 태그ID (tag_id) — int — 기본 키 — NOT NULL
- 포스트ID (post_id) — int — 외래 키 → 게시글.포스트ID — NOT NULL
- 유저ID (user_id) — int — 외래 키 → 게시글.유저ID — NOT NULL
- 태그 (tag) — text