멋사블로그

테이블 (4)

Comment (Untitled3)

  • Comment_id (Key) — 기본 키 — NOT NULL
  • Comment_content (Field2)
  • Created_at (Field)
  • User_id (Key2) — 외래 키 → User.User_id — NOT NULL
  • Post_id (Key3) — 외래 키 → Post.Post_id — NOT NULL

Post (Untitled2)

  • Post_id (Key) — 기본 키 — NOT NULL
  • Title (Field2)
  • Post_Content (Field3)
  • Created_at (Field)
  • User_id (Key2) — 외래 키 → User.User_id — NOT NULL

User (Untitled)

  • User_id (Key) — 기본 키 — NOT NULL
  • Name (Field)
  • Email (Field2)

UserProfile (Untitled4)

  • Uprofiled (Key) — 기본 키 — NOT NULL
  • Major (Field)
  • Age (Field2)
  • User_id (Key2) — 외래 키 → User.User_id — NOT NULL