백오피스 팀 프로젝트
테이블 (4)
Comment
- PK (commentId) — 기본 키 — NOT NULL
- 댓글 (text)
- 작성일 (createAt)
- 수정일 (modifiedAt)
- Field4
- FK(user) (user_id) — 외래 키 → User.PK — NOT NULL
- FK(post) (post_id) — 외래 키 → Post.PK — NOT NULL
Likepost
- PK (likeId) — 기본 키 — NOT NULL
- FK(post) (post_id) — 외래 키 → Post.PK — NOT NULL
- FK(user) (user_id) — 외래 키 → User.PK — NOT NULL
Post
- PK (postId) — 기본 키 — NOT NULL
- 제목 (title)
- 내용 (content)
- 작성일 (createAt)
- 수정일 (modifiedAt)
- FK(user) (user_id) — 외래 키 → User.PK — NOT NULL
User
- PK (userId) — 기본 키 — NOT NULL
- 사용자 아이디 (username)
- 비밀번호 (password) — NOT NULL
- 권한 (role)
- 닉네임 (nickname) — NOT NULL
- 나이 (age)
- 이메일 (email)
- 한줄소개 (userinfo)
- 개인url (userurl)
- 카카오아이디 (kakaoId)