prac1

Tables (8)

DM (Untitled5)

  • senderId (Key) — Foreign key → User.id — NOT NULL
  • receiverId (Key2) — Foreign key → User.id — NOT NULL
  • content (Field)

Feed (Untitled3)

  • wriderId (Key) — Foreign key → User.id — NOT NULL
  • content (Field)

Follow (Untitled2)

  • followerId (Key) — Foreign key → User.id — NOT NULL
  • followeeId (Key2) — Foreign key → User.id — NOT NULL

Item (Untitled7)

    Purchase (Untitled8)

    • buyerId (Field)
    • itemId (Field2)

    Repost (Untitled6)

    • id (Key) — Foreign key → User.id — NOT NULL
    • feedId (Field)

    Story (Untitled4)

    • writerId (Key) — Foreign key → User.id — NOT NULL
    • expiredAt (Field)

    User (Untitled)

    • id (Key) — Primary key — NOT NULL