멋사 블로그

테이블 (7)

Comment (Untitled4)

  • commentId (Key) — 기본 키 — NOT NULL
  • 생성날짜 (Field)
  • 내용 (Field2)
  • userId (Key2) — 외래 키 → User.userId — NOT NULL
  • postId (Key3) — 외래 키 → Post.postId — NOT NULL

Like (Untitled6)

  • likeId (Key) — 기본 키 — NOT NULL
  • userId (Key2) — 외래 키 → User.userId — NOT NULL
  • postId (Key3) — 외래 키 → Post.postId — NOT NULL

Post (Untitled3)

  • postId (Key) — 기본 키 — NOT NULL
  • 생성날짜 (Field)
  • 제목 (Field2)
  • userId (Key2) — 외래 키 → User.userId — NOT NULL

Post-Tag (Untitled7)

  • id (Key) — 기본 키 — NOT NULL
  • postId (Key2) — 외래 키 → Post.postId — NOT NULL
  • tagId (Key3) — 외래 키 → Tag.tagId — NOT NULL

Tag (Untitled5)

  • tagId (Key) — 기본 키 — NOT NULL
  • 이름 (Field)
  • 색깔 (Field2)

User (Untitled)

  • userId (Key) — 기본 키 — NOT NULL
  • 이름 (Field)
  • 이메일 (Field2)

UserProfile (Untitled2)

  • uprofileId (Key) — 기본 키 — NOT NULL
  • 전공 (Field)
  • 나이 (Field2)
  • userId (Key2) — 외래 키 → User.userId — NOT NULL