ticketing

Tables (10)

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 (users)

  • Key (user_id) — bigint — Primary key — NOT NULL — 유저 식별 ID
  • Field (name) — varchar(20) — NOT NULL — 유저 이름
  • Field (point) — int — NOT NULL — 포인트 수량
  • Field (created_at) — datetime — NOT NULL — 생성 시간
  • Field2 (updated_at) — datetime — 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 — 충전/사용
  • Field (created_at) — datetime — NOT NULL — 생성 시간
  • Field2 (updated_at) — datetime — NOT NULL — 수정 시간

Untitled (queue_info)

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

Untitled (performance_schedule)

  • Key (performance_id) — bigint — Primary key — NOT NULL — 공연 식별 ID
  • Key (performance_info_id) — bigint — Foreign key → Untitled.Key — NOT NULL — 공연 정보 식별 ID
  • Key (stage_id) — bigint — Foreign key → Untitled.Key — NOT NULL — 공연장 식별 ID
  • Field (start_at) — datetime — NOT NULL — 공연 시작 시간
  • Field (end_at) — datetime — NOT NULL — 공연 종료 시간
  • Field (reservation_at) — datetime — NOT NULL — 예매 시작 시간
  • Field (created_at) — datetime — NOT NULL — 생성 시간
  • Field (updated_at) — datetime — NOT NULL — 수정 시간

Untitled (seat)

  • Key (id) — bigint — Primary key — NOT NULL — 좌석 식별 ID
  • Key (stage_id) — bigint — Foreign key → Untitled.Key — NOT NULL — 공연장 식별 ID
  • Field (seat_no) — int — NOT NULL — 좌석 번호
  • Field (price) — int — NOT NULL — 좌석 가격
  • Field (created_at) — datetime — NOT NULL — 생성 시간
  • Field (updated_at) — datetime — NOT NULL — 수정 시간

Untitled (performance)

  • Key (performance_info_id) — bigint — Primary key — NOT NULL — 공연 정보 식별 ID
  • Field (title) — varchar(100) — NOT NULL — 이름
  • Field2 (content) — text — 상세
  • Field (created_at) — datetime — NOT NULL — 생성 시간
  • Field2 (updated_at) — datetime — NOT NULL — 수정 시간

Untitled (reservation)

  • Key (reservation_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
  • Key (seat_id) — bigint — Foreign key → Untitled.Key — NOT NULL — 좌석 식별 ID
  • Field (status) — varchar(10) — NOT NULL — 상태
  • Field (expired_at) — datetime — NOT NULL — 만료 시간
  • Field (created_at) — datetime — NOT NULL — 생성 시간
  • Field2 (updated_at) — datetime — NOT NULL — 수정 시간

Untitled (stage)

  • Key (id) — bigint — Primary key — NOT NULL — 공연장 식별 ID
  • Field (location) — varchar(255) — NOT NULL — 위치
  • Field (created_at) — datetime — NOT NULL — 생성 시간
  • Field (updated_at) — datetime — NOT NULL — 수정 시간

Untitled (payment)

  • Key (payment_id) — bigint — Primary key — NOT NULL — 결제 식별 ID
  • Key (reservation_id) — bigint — Foreign key → Untitled.Key — NOT NULL — 예약 식별 ID
  • Field2 (price) — int — NOT NULL — 결제 가격
  • Field (status) — varchar(10) — NOT NULL — 결제 상태
  • Field (created_at) — datetime — NOT NULL — 생성 시간
  • Field (updated_at) — datetime — NOT NULL — 수정 시간