SW03
테이블 (5)
게시글 (Board)
- Key (board_id) — Integer — 기본 키 — NOT NULL
- Key (user_id) — Integer — 외래 키 → 사용자.Key — NOT NULL
- Field (title) — String
- Field (content) — String
- Field (category) — Integer
댓글 (Comment)
- Key (comment_id) — Integer — 기본 키 — NOT NULL
- Key (board_id) — Integer — 외래 키 → 게시글.Key — NOT NULL
- Key (user_id) — Integer — 외래 키 → 게시글.Key — NOT NULL
- Field (content) — String
- Field (date) — Date
사용자 (User)
- Key (user_id) — Integer — 기본 키 — NOT NULL
- Field (name) — String
- Field (sns_id) — Integer
좌석 (Seat)
- Key (seat_id) — Integer — 기본 키 — NOT NULL
- Key (user_id) — Integer — 외래 키 → 사용자.Key — NOT NULL
- Field (able) — Integer
- Field (start_time)
취소내역 (Cancel)
- Key (cancel_id) — 기본 키 — NOT NULL
- Key (user_id) — Integer — 외래 키 → 사용자.Key — NOT NULL
- Field (date) — Date
- Field (reason) — String