구독 서비스 과제
테이블 (3)
Product (상품)
- 상품아이디 (product_id) — string — 기본 키 — NOT NULL
- 상품이름 (product_name) — string
- 가격 (product_price) — int
- 상품설명 (product_detail) — string
User (사용자)
- 유저아이디 (user_id) — string — 기본 키 — NOT NULL
- 패스워드 (user_pw) — string
- 이메일 (user_email) — string
- 카드배열 (user_card) — array
- 권한 (user_auth) — string
subscribe (구독)
- 구독아이디 (sub_id) — string — 기본 키 — NOT NULL
- 유저아이디 (user_id) — string — 외래 키 → User.유저아이디 — NOT NULL
- 상품아이디 (product_id) — string — 외래 키 → Product.상품아이디 — NOT NULL
- 구독일자 (sub_date) — date
- 카드 (sub_card) — string
- 구독상태 (sub_isdeleted) — boolean