Restaurant

Tables (3)

Reservation

  • id (Key) — number — Primary key — NOT NULL
  • restaurantId (FK) — number — Foreign key → Restaurant.id — NOT NULL
  • userId (Key2) — number — Foreign key → User.id — NOT NULL
  • date (Field) — date

Restaurant

  • id (Key) — number — Primary key — NOT NULL
  • name (Field) — string
  • thumbnail (Field2) — string
  • content (Field3) — longtext

User

  • id (Key) — number — Primary key — NOT NULL
  • name (Field) — string
  • googleId (Field2) — string
  • phone (Field3) — string