roomescape-cycle1
테이블 (5)
대기 (waiting)
- id (대기 id) — BIGINT — 기본 키 — NOT NULL
- reservation_slot_id (예약 슬롯 id) — BIGINT — 외래 키 → 예약 슬롯.id — NOT NULL
- customer_name (대기자 이름) — VARCHAR(255)
- created_at (생성 시각) — TIMESTAMP
예약 (reservation)
- id (예약 id) — BIGINT — 기본 키 — NOT NULL
- reservation_slot_id (예약 슬롯 id) — BIGINT — 외래 키 → 예약 슬롯.id — NOT NULL
- customer_name (예약자 이름) — VARCHAR(255)
- created_at (생성 시각) — TIMESTAMP
예약 슬롯 (reservation_slot)
- id (예약 슬롯 id) — BIGINT — 기본 키 — NOT NULL
- theme_id (테마 id) — BIGINT — 외래 키 → 테마.id — NOT NULL
- time_id (예약 시간 id) — BIGINT — 외래 키 → 예약 시간.id — NOT NULL
- reservation_date (예약 날짜) — DATE
- created_at (생성 시각) — TIMESTAMP
예약 시간 (reservation_time)
- id (예약 시간 id) — BIGINT — 기본 키 — NOT NULL
- start_at (시작 시간) — TIME
- created_at (생성 시각) — TIMESTAMP
테마 (theme)
- id (테마 id) — BIGINT — 기본 키 — NOT NULL
- name (테마 이름) — VARCHAR(255)
- description (테마 설명) — VARCHAR(255)
- thumbnail_url (썸네일 URL) — VARCHAR(255)
- created_at (생성 시각) — TIMESTAMP