멋사

테이블 (4)

comment (Untitled3)

  • id (post_id) — char — 기본 키 — NOT NULL
  • Field
  • content (Field2)
  • id (member_id) — 외래 키 → member.id — NOT NULL

member (Untitled2)

  • id (member_id) — 기본 키 — NOT NULL
  • name (Field2)
  • email (Field3)

post (Untitled)

  • id (post_id) — char — 기본 키 — NOT NULL
  • title (Field3)
  • content (Field4)
  • creat_at (Field5)
  • id (member_id) — 외래 키 → member.id — NOT NULL

userpost (Untitled4)

  • id (post_id) — char — 외래 키 → post.id — NOT NULL
  • id (member_id) — 외래 키 → member.id — NOT NULL