ticketing

Tables (7)

Copy Of Untitled (queue)

  • Key (id) — bigint — Primary key — NOT NULL — 대기열 식별 ID
  • Field (token) — varchar(100) — NOT NULL — 대기열 토큰
  • Field (status) — varchar(10) — NOT NULL — 상태
  • Field (expired_at) — datetime — NOT NULL — 만료일

Untitled (performance)

  • Key (id) — bigint — Primary key — NOT NULL — 공연 식별 ID
  • Field (title) — varchar(100) — NOT NULL — 이름
  • Field2 (content) — text — 상세
  • Field4 (price) — int — NOT NULL — 가격
  • Field5 (max_seat) — int — NOT NULL — 좌석 수

Untitled (users)

  • Key (id) — bigint — Primary key — NOT NULL — 유저 식별 ID
  • Field (name) — varchar(20) — NOT NULL — 유저 이름
  • Field (point) — int — NOT NULL — 포인트 수량

Untitled (point_history)

  • Key (id) — bigint — Primary key — NOT NULL — 포인트 히스토리 식별 ID
  • Key (user_id) — bigint — Foreign key → Untitled.Key — NOT NULL — 유저 식별 ID
  • Field (amount) — int — NOT NULL — 수량
  • Field (type) — varchar(10) — NOT NULL — 충전/사용

Untitled (reservation)

  • Key (id) — bigint — Primary key — NOT NULL — 예약 식별 ID
  • Key (user_id) — bigint — Foreign key → Untitled.Key — NOT NULL — 예약자 식별 ID
  • Key (performance_id) — bigint — Foreign key → Untitled.Key — NOT NULL — 공연 식별 ID
  • Field (seat_no) — int — NOT NULL — 좌석 번호
  • Field (status) — varchar(10) — NOT NULL — 상태
  • Field2 (price) — int — NOT NULL — 결제 금액

Untitled (queue_info)

  • Key (id) — bigint — Primary key — NOT NULL — 식별 ID
  • Field (offset) — bigint — NOT NULL — offset
  • Field (curr_session) — int — NOT NULL — 현재 입장 인원
  • Field (max_session) — int — NOT NULL — 최대 입장 가능 인원
  • Field (active) — bit — NOT NULL — 활성화/비활성화

Untitled (performance_option)

  • Key (id) — bigint — Primary key — NOT NULL — 공연 날짜 식별 ID
  • Key (performance_id) — bigint — Foreign key → Untitled.Key — NOT NULL — 공연 식별 ID
  • Field (reservation_at) — datetime — NOT NULL — 예매 시작일
  • Field (start_at) — datetime — NOT NULL — 공연일