instagram practice

Tables (3)

Follow (Untitled3)

  • UserId (AccountId) — VARCHAR — Foreign key → User.AccountId — NOT NULL
  • FollowId (Field)

Post (Untitled2)

  • AccountId (Key2) — VARCHAR — Foreign key → User.AccountId — NOT NULL
  • Description (Field2)
  • Media (Field3)
  • CreatedAt (Field4)
  • IsDeleted (Field)

User (Untitled)

  • AccountId (Key) — VARCHAR — Primary key — NOT NULL
  • Nickname (Field2) — VARCHAR
  • ProfileImage (Field3) — STRING
  • ProfileIntrouduce (Field4) — STRING
  • CreatedAt (Field5) — TIMESTAMP
  • IsDeleted (Field) — BOOLEAN