myblog

Tables (7)

article (Untitled)

  • id (식별자) — Primary key — NOT NULL — 식별자
  • title (Field) — 제목
  • content (Field2) — 내용
  • hit (Field3) — 조회수
  • thumbnailUrl (Field4) — 썸네일
  • member_id (Key) — Foreign key → member.id — NOT NULL — 회원 식별자
  • category_id (Key2) — Foreign key → category.id — NOT NULL — 카테고리 식별자

articletag (Untitled6)

  • id (Key) — Primary key — NOT NULL — 식별자
  • tag_id (Key2) — Foreign key → tag.id — NOT NULL — 태그 식별자
  • article_id (식별자) — Foreign key → article.id — NOT NULL — 게시물 식별자

category (Untitled2)

  • id (Key) — Primary key — NOT NULL — 식별자
  • title (Field) — 카테고리명
  • parent_id (Key2) — Foreign key → category.id — NOT NULL — 부모 카테고리 식별자

comment (Untitled3)

  • id (Key) — Primary key — NOT NULL — 식별자
  • contnet (Field) — 댓글 내용
  • secret (Field2) — 비밀 여부
  • parent_id (Key2) — Foreign key → comment.id — NOT NULL — 부모 댓글 식별자
  • article_id (식별자) — Foreign key → article.id — NOT NULL — 게시물 식별자
  • member_id (Key3) — Foreign key → member.id — NOT NULL — 회원 식별자

member (Untitled4)

  • id (Key) — Primary key — NOT NULL — 식별자
  • userId (Field) — 아이디
  • username (Field2) — 이름
  • email (Field3) — 이메일
  • picUrl (Field4) — 썸내일 주소
  • provider (Field5) — OAuth enum
  • role (Field6) — role enum

tag (Untitled7)

  • id (Key) — Primary key — NOT NULL — 식별자
  • name (Field) — 태그명

temparticle (Untitled5)

  • id (Key) — Primary key — NOT NULL — 식별자
  • title (Field) — 제목
  • content (Field2) — 내용
  • thumbnailUrl (Field3) — 썸내일 주소
  • category (Field4) — 카테고리
  • tags (Field5) — 태그