sample

Tables (7)

Comment (Untitled4)

  • commentid (Key) — Primary key — NOT NULL
  • userid (Key2) — Foreign key → User.userid — NOT NULL
  • postid (Key3) — Foreign key → Post.postid — NOT NULL

Like (Untitled6)

  • likeid (Key) — Primary key — NOT NULL
  • userid (Key2) — Foreign key → User.userid — NOT NULL
  • postid (Key3) — Foreign key → Post.postid — NOT NULL

Post (Untitled3)

  • postid (Key) — Primary key — NOT NULL
  • userid (Key2) — Foreign key → User.userid — NOT NULL

Post-Tag (Untitled7)

  • id (Key) — Primary key — NOT NULL
  • postid (Key2) — Foreign key → Post.postid — NOT NULL
  • tagid (Key3) — Foreign key → Tag.tagid — NOT NULL

Tag (Untitled5)

  • tagid (Key) — Primary key — NOT NULL

User (Untitled)

  • userid (Key) — Primary key — NOT NULL
  • name (Field)
  • email (Field2)

UserProfile (Untitled2)

  • uprofileid (Key) — Primary key — NOT NULL
  • description (Field)
  • userid (Key2) — Foreign key → User.userid — NOT NULL