erd

Tables (3)

Convenience (Untitled)

  • Key — Primary key — NOT NULL
  • title (Field) — Charfield(max_length=100
  • location (Field2) — CharField(max_length=100)

Daily (Untitled3)

  • Key — Primary key — NOT NULL
  • daily_title (Field)
  • dailt_location (Field2)
  • daily_price (Field3)
  • daily_count (Field4)

Snack (Untitled2)

  • Key — Primary key — NOT NULL
  • snack_title (Field) — CharField(max_length=100)
  • snack_location (Field2) — ForeignKey(Convenience, on_delete=models.CASCADE)
  • snack_price (Field3) — IntegerField()
  • snack_count (Field4) — IntegerField()
  • Key (Key3) — Foreign key → Convenience.Key — NOT NULL