방탈출

테이블 (5)

PaymentSession (Untitled4)

  • order_id (Key) — 기본 키 — NOT NULL
  • reservation_id (Field)
  • amount (Field2)

Reservation (Untitled2)

  • id (Key) — 기본 키 — NOT NULL
  • theme_id (Key2) — 외래 키 → Theme.id — NOT NULL
  • time_id (Key3) — 외래 키 → ReservationTime.id — NOT NULL
  • guest_name (Field)
  • date (Field2)
  • status (Field3)
  • cancel_token (Field4)
  • last_modified_at (Field5)

ReservationTime (Untitled5)

  • id (Key) — 기본 키 — NOT NULL
  • start_at (Field)
  • delete_at (Field2)
  • delete_token (Field3)

Theme (Untitled3)

  • id (Key) — 기본 키 — NOT NULL
  • name (Field)
  • description (Field2)
  • thumbnail (Field3)
  • price (bigint)
  • deleted_at (Field4)

TossPayment (Untitled)

  • id (Key) — 기본 키 — NOT NULL
  • reservation_id (Key2) — 외래 키 → Reservation.id — NOT NULL
  • payment_key (Field1)
  • amount (Field2)
  • status (Field3)
  • approved_at (Field4)
  • requested_at (Field5)