chostagram

테이블 (5)

Comment (Untitled)

  • commentId (Key) — 기본 키 — NOT NULL
  • content (Field)
  • imageId (Key2) — 외래 키 → Image(게시글).imageId — NOT NULL
  • userId (Key3) — 외래 키 → User.userId — NOT NULL

Image(게시글) (Untitled4)

  • imageId (Key) — 기본 키 — NOT NULL
  • postImageUrl (Field)
  • caption (Field2)
  • userId (Key2) — 외래 키 → User.userId — NOT NULL

Likes (Untitled5)

  • likesId (Key) — 기본 키 — NOT NULL
  • imageId (Key2) — 외래 키 → Image(게시글).imageId — NOT NULL
  • userId (Key3) — 외래 키 → User.userId — NOT NULL

Subscibe (Untitled3)

  • subscibeId (Key) — 기본 키 — NOT NULL
  • createDate (Field)
  • fromUserId (Key2) — 외래 키 → User.userId — NOT NULL
  • toUserId (Key3) — 외래 키 → User.userId — NOT NULL

User (Untitled2)

  • userId (Key) — 기본 키 — NOT NULL
  • username (Field)
  • password (Field2)
  • name (Field3)
  • website (Field4)
  • bio (Field5)
  • email (Field6)
  • phone (Field7)
  • gender (Field8)
  • profileImageUrl (Field9)
  • Role (Field10)
  • createDate (Field11)