lv3

Tables (3)

Untitled (USER)

  • ID — Primary key — NOT NULL
  • 이름 (username)
  • 비밀번호 (password)
  • 역할 (role)

Untitled (COMMENT)

  • ID — Primary key — NOT NULL
  • ID (blogid) — Foreign key → Untitled2.ID — NOT NULL
  • ID (commentid) — Foreign key → Untitled2.ID — NOT NULL
  • 내용 (content)
  • 작성자 (username)
  • 작성일 (createdAt)
  • 수정일 (modifidedAt)

Untitled2 (BLOG)

  • ID — Primary key — NOT NULL
  • ID (Key2) — Foreign key → Untitled.ID — NOT NULL
  • 제목 (Field)
  • 내용 (Field2)
  • 작성일 (Field3)
  • 수정일 (Field4)