dd
Tables (4)
Hobbies
- 취미 ID (hobby_id) — int — Primary key
- 취미 이름 (hobby_name) — char(30)
- 취미 설명 (description) — char(1000)
- 장소 정보 (location) — char(255)
- 취미 가격 (hobby_price) — int
Reservation
- 예약 ID (reservation_id) — int — Primary key
- 예약 생성 시간 (reservation_time) — date
- 취미 ID (hobby_id) — int — Foreign key → Hobbies.취미 ID
- 시간대 ID (schedule_id) — int — Foreign key → Schedules.시간대 ID
- 사용자 ID (user_id) — int — Foreign key → Users.사용자 ID
Schedules
- 시간대 ID (schedule_id) — int — Primary key
- 시작 시간 (start_time) — date
- 종료 시간 (end_time) — date
- 예약 여부 (is_booked) — char(1)
- 취미 ID (hobby_id) — int — Foreign key → Hobbies.취미 ID
Users
- 사용자 ID (user_id) — int — Primary key
- 사용자 이름 (name) — char(100)
- ID (id) — char(255)
- 전화번호 (phone) — char(15)
- 나이 (age) — int
- 비밀번호 (pw) — char(255)
- 성별 (sex) — char(1)