Artist
Tables (4)
artist_group_affiliations
- id (식별자) — BinInt — Primary key — NOT NULL — [PK]
- artist_id (아티스트(개인) 고유 id) — BigInt — Foreign key → artists.id — NOT NULL — [FK] artists.id (artist_type이 group_solo 인 경우만)
- group_id (그룹 고유 id) — BigInt — Foreign key → artists.id — [FK] artist.id (크롤링시 데이터 없는 특별 유닛도 들어갈 수 있어서 NULL 허용)
- group_page_name (그룹의 page_name) — String
- group_name (그룹 표시명) — String — NOT NULL
- created_at (생성 시간) — DateTime — NOT NULL
artist_nationalities (아티스트 국적)
- id (식별자) — BigInt — Primary key — NOT NULL — [PK]
- artist_id (아티스트 고유 id) — BigInt — Foreign key → artists.id — NOT NULL — [FK] artists.id
- country_code (국가코드) — BigInt — Foreign key → countries.code — NOT NULL — [FK] countries.code
- created_at (생성 시간) — DateTime — NOT NULL
artists (모든 아티스트)
- id (식별값) — BigInt — Primary key — NOT NULL — [PK]
- page_name (Wiki의 페이지 식별) — String — NOT NULL
- name (이름(활동명)) — String — NOT NULL — 그룹명 혹은 개인 이름(활동명)
- artist_type (그룹여부 확인) — ENUM — NOT NULL — group | group_solo | solo
- artist_status (활동여부 확인) — ENUM — NOT NULL — active | disbanded
- cover_image_url (이미지) — String — WIKI에선 프로필 사진의 url
- agency (소속사) — String — 무소속인 경우도 있음
- agency_url (소속사 Wiki 주소) — String — agency 테이블 따로 생성하지 않는다면, 삭제가능
- birth_name (본명) — String — group의 경우 null
- birth_date (생일) — Date — group의 경우 null
- group_debut_date (그룹 데뷔일) — Date — solo 이더라도 특별 유닛 활동하면 기재됨
- solo_debut_date (솔로 데뷔일) — Date — group_solo, solo의 경우만 해당
- members (멤버 리스트) — JSON — 맴버들을 식별하기 위해서 page_name과 함께 json 형태로 리스트 받음
- fandom_name (팬덤명) — String — 한 아티스트에 복수 팬덤 없음. 대표 팬덤명으로. 팬덤명 아직 없을 수 있음
- sns (sns 정보) — JSON
- created_at (생성 시간) — DateTime — NOT NULL
- updated_at (최종 업데이트 시간) — DateTime — NOT NULL
countries (국가)
- code (식별자) — BigInt — Primary key — NOT NULL — [PK] 국가코드 텍스트라면 데이터 타입 변경
- country_name (국가명) — String — NOT NULL