blog
Tables (5)
Comment (comment_tb)
- 댓글 식별자 (comment_id) — NOT NULL — Primary key — NOT NULL
- 게시물 식별자 (post_id) — NOT NULL — Foreign key → Post.게시물 식별자 — NOT NULL
- 유저 식별자 (user_id) — NOT NULL — Foreign key → Post.유저 식별자 — NOT NULL
- 부모 댓글 식별자 (parent_comment_id) — NOT NULL
- 댓글 컨텐츠 (content) — NOT NULL
- 댓글 생성일 (created_date) — NOT NULL
- 댓글 갱신일 (updated_date) — NOT NULL
Like (like_tb)
- 좋아요 식별자 (like_id) — NOT NULL — Primary key — NOT NULL
- 게시물 식별자 (post_id) — NOT NULL — Foreign key → Post.게시물 식별자 — NOT NULL
- 유저 식별자 (user_id) — NOT NULL — Foreign key → Post.유저 식별자 — NOT NULL
- 라이크 식별 (is_liked) — NOTNULL
- 좋아요 생성일 (created_date) — NOT NULL
- 좋아요 갱신일 (updated_date) — NOT NULL
Post (post_tb)
- 게시물 식별자 (post_id) — NOT NULL — Primary key — NOT NULL
- 유저 식별자 (user_id) — NOT NULL — Foreign key → User.유저 식별자 — NOT NULL
- 게시물 제목 (title) — NOT NULL
- 게시물 컨텐츠 (contents) — NOT NULL
- 게시물 좋아요 (like_count) — NOT NULL
- 게시물 생성일 (created_date) — NOT NULL
- 게시물 갱신일 (updated_date) — NOT NULL
Profile (profile_tb)
- 프로필 식별자 (profile_id) — NOT NULL — Primary key — NOT NULL
- 유저 식별자 (user_id) — NOT NULL — Foreign key → User.유저 식별자 — NOT NULL
- 프로필 이미지 (image_url) — NULL
- 프로필 생성일 (created_date) — NOT NULL
- 프로필 갱신일 (updated_date) — NOT NULL
User (User_tb)
- 유저 식별자 (user_id) — NOT NULL — Primary key — NOT NULL
- 유저 이메일 (email) — NOT NULL
- 유저 비밀번호 (password) — NOT NULL
- 유저 닉네임 (nickname) — NOT NULL
- 유저 전화번호 (phone_number) — NOT NULL
- 유저 생성일 (created_date) — NOT NULL
- 유저 갱신일 (updated_date) — NOT NULL