weolbu
Tables (3)
Course (강의)
- 아이디 (id) — NOT NULL — Primary key — NOT NULL
- 강의명 (title) — NOT NULL
- 총 수강생 수 (max_students) — NOT NULL
- 현재 수강생 수 (current_students) — NOT NULL
- 가격 (price) — NOT NULL
- 담당 강사 (instructor_id) — NOT NULL — Foreign key → Member.아이디 — NOT NULL
CourseMember (수강 신청)
- 아이디 (id) — Primary key — NOT NULL
- 멤버아이디 (member_id) — NOT NULL — Foreign key → Member.아이디 — NOT NULL
- 강의아이디 (course_id) — NOT NULL — Foreign key → Course.아이디 — NOT NULL
Member (사용자)
- 아이디 (id) — NOT NULL — Primary key — NOT NULL
- 비밀번호 (password) — NOT NULL
- 이름 (name) — NOT NULL
- 이메일 (email) — NOT NULL
- 타입 (type) — NOT NULL