케이팝
테이블 (7)
사용자 (user)
- 사용자_id (user_id) — 기본 키 — NOT NULL
- 이름 (name) — text
- 나이 (age) — int
- 성별 (gander) — text
- 이메일 (email)
- 핸드폰 번호 (phone_number) — int
아티스트 (artist)
- 아티스트_id (artist_id) — 기본 키 — NOT NULL
- 아티스트 이름 (artist_name)
- 소속사 (agency) — NOT NULL
조공 (tribute)
- 조공 (tribute) — 기본 키 — NOT NULL
- 사용자_id (user_id) — 외래 키 → 사용자.사용자_id — NOT NULL
- 아티스트_id (artist_id) — 외래 키 → 아티스트.아티스트_id — NOT NULL
- 목표금액 (target_amount) — int
- 목표 날짜 (target_date) — date
- 하루 조공 금액 (daily_tribute_amount) — int — NOT NULL
- 총 조공 금액 (total_tribute_amount) — int — NOT NULL
크레딧 (cradit)
- 크레딧 (cradit) — 기본 키 — NOT NULL
- 사용자_id (user_id) — 외래 키 → 사용자.사용자_id — NOT NULL
- 하루 충전 금액 (daily_rechard_amount) — int — NOT NULL
- 총 충전 금액 (total_rechard_amount) — int — NOT NULL
- 하루 사용 금액 (daily_usage_amound) — int — NOT NULL
- 총 사용 금액 (total_usage_amount) — int — NOT NULL
- 충전한 날짜 (date_chard) — date — NOT NULL
- 충전한 시간 (time_chard) — time
- 사용자 잔여 크레딧 (user_remaining_credit) — int — NOT NULL
투표하다 (vote)
- 투표하다 (vote) — 기본 키 — NOT NULL
- 사용자_id (user_id) — 외래 키 → 사용자.사용자_id — NOT NULL
- 아티스트_id (artist_id) — 외래 키 → 아티스트.아티스트_id — NOT NULL
팔로우 (follow)
- 팔로우 (follow) — 기본 키 — NOT NULL
- 사용자_id (user_id) — 외래 키 → 사용자.사용자_id — NOT NULL
- 아티스트_id (artist_id) — 외래 키 → 아티스트.아티스트_id — NOT NULL
후원하다 (support)
- 후원하다 (support) — 기본 키 — NOT NULL
- 사용자_id (user_id) — 외래 키 → 사용자.사용자_id — NOT NULL
- 아티스트_id (artist_id) — 외래 키 → 아티스트.아티스트_id — NOT NULL