lumina

테이블 (3)

방문통계 (statistics)

  • 통계번호 (statistics_id) — long — 기본 키 — NOT NULL
  • 작가 id (artist_id) — long — 외래 키 → 회원.회원 번호 — NOT NULL
  • 회원 id (member_id) — long — 외래 키 → 회원.회원 번호 — NOT NULL — nullable
  • 방문일시 (visited_at) — timestamp
  • 유입경로 (referrer_type) — int — 0(internal), 1(external)

좋아요 (favorites)

  • 좋아요 번호 (favorite_id) — long — 기본 키 — NOT NULL — pk
  • 회원 id (member_id) — long — 외래 키 → 회원.회원 번호 — NOT NULL
  • 작품 번호 (artwork_id) — long — fk
  • 누른 시간 (created_at) — timestamp

회원 (users)

  • 회원 번호 (id) — long — 기본 키 — NOT NULL
  • 닉네임 (username) — text
  • 이메일 (email) — text
  • 비밀번호 (hashed_password) — text
  • 전화번호 (phone) — text
  • 국적 (country) — text
  • 고유 번호 (unique_code) — text
  • 아티스트 여부 (is_artist) — integer
  • 인스타그램 id (instagram_id) — text
  • 해시값 (hashed_id) — text
  • 솔트값 (salt) — text
  • 승인 여부 (is_approved) — text
  • 롤 (member_role) — text
  • 프로필 공개 여부 (is_profile_public) — integer
  • 프로필 이미지 경로 (profile_img_path) — text
  • 생년월일 (birth_date) — varchar(255)
  • 작가 소개 (inroduce) — varchar(255)
  • 작가 연혁 (artist_history) — varchar(255)