b7-claid

Tables (12)

Article (게시글)

  • 게시글 아이디 (id) — int — Primary key — NOT NULL
  • 작성자 (user_id) — int — Foreign key → User.아이디 — NOT NULL
  • 목소리 (voice) — char — NOT NULL
  • 원곡정보 (song_info) — char — NOT NULL
  • 게시글이미지 (article_image) — image
  • 노래파일 (song) — file — NOT NULL
  • 좋아요 (good) — int
  • 수정일 (update_at) — datetime
  • 작성일 (created_at) — datetime
  • 조회수 (hits) — positiveinteger — NOT NULL

Comment (댓글)

  • 댓글 아이디 (id) — int — Primary key — NOT NULL
  • 게시글 아이디 (article) — int — Foreign key → Article.게시글 아이디 — NOT NULL
  • 작성자 (user_id) — int — Foreign key → Article.작성자 — NOT NULL
  • 내용 (content) — text — NOT NULL
  • 작성일 (created_at) — datetime
  • 수정일 (update_at) — datetime
  • 좋아요 (good) — manytomany

Copy Of Comment (CopyOf댓글)

  • 댓글 아이디 (id) — int — Primary key — NOT NULL
  • 게시글 아이디 (id2) — int — Foreign key → VocalNotice.게시글 아이디 — NOT NULL
  • 작성자 (user_id) — int — Foreign key → VocalNotice.작성자 — NOT NULL
  • 내용 (content) — text — NOT NULL
  • 작성일 (created_at) — datetime
  • 수정일 (update_at) — datetime
  • 좋아요 (good) — manytomany

Copy Of HitsCount (CopyOf조회수)

  • 게시글 아이디 (id) — int — Foreign key → VocalNotice.게시글 아이디 — NOT NULL
  • 작성자 (user_id) — int — Foreign key → VocalNotice.작성자 — NOT NULL
  • 아이피 (ip) — char — NOT NULL
  • Field
  • 만료기간 (expire_date) — datetime — NOT NULL

HitsCount (조회수)

  • 게시글 아이디 (article) — int — Foreign key → Article.게시글 아이디 — NOT NULL
  • 아이피 (ip) — char — NOT NULL
  • Field
  • 만료기간 (expire_date) — datetime — NOT NULL

Point (포인트)

  • 아이디 (id) — Primary key — NOT NULL
  • 사용자 (user_id) — int — Foreign key → User.아이디 — NOT NULL
  • 포인트 (points) — int — NOT NULL

PointHistory (포인트 히스토리)

  • 아이디 (id) — Primary key — NOT NULL
  • 사용자 (user_id) — int — Foreign key → User.아이디 — NOT NULL
  • 포인트 변화 (point_change) — int
  • 이유 (reason) — char
  • created_at (datetime)

Profile (프로필)

  • 사용자 (user) — onetoone — Primary key — NOT NULL
  • 아이디 (id) — int — Foreign key → User.아이디 — NOT NULL
  • 닉네임 (nickname) — char — NOT NULL
  • 프로필이미지 (profile_image) — image — NOT NULL

SeparationResult (분리결과)

  • 아이디 (id) — int — Primary key — NOT NULL
  • 작성자 (user_id) — int — Foreign key → User.아이디 — NOT NULL
  • 파일이름 (file_name) — char
  • 보컬경로 (vocals_path) — char
  • 반주경로 (accompaniment_path) — char
  • 상태 (state) — char
  • 생성시각 (created_at) — datetime
  • 오디오파일 (audio_file)

Social_platforms (소셜플랫폼)

  • 아이디 (id) — int — Foreign key → User.아이디 — NOT NULL
  • 쇼셜이름 (name) — Char — NOT NULL

User (사용자)

  • 아이디 (id) — int — Primary key — NOT NULL
  • 이메일 (email) — email — NOT NULL
  • 닉네임 (nickname) — char — NOT NULL
  • 프로필이미지 (profile_image) — image — "http://xxx.kakao.co.kr/.../...."
  • 비밀번호 (password) — char — NOT NULL
  • sns고유번호 (sns_id) — positiveinteger
  • 접근토큰 (access_token) — char
  • 접근토큰만료시간 (expires_in) — char
  • 갱신토큰 (refresh_token) — char
  • 갱신토큰만료시간 (refresh_token_expires_in) — char
  • 나이 (age) — positiveinteger
  • 성별 (gender) — char
  • 생성시각 (create_at) — datetime — NOT NULL
  • 수정시각 (update_at) — datetime — NOT NULL
  • self (following) — manytomany — NOT NULL
  • 로그인유형 (login_type) — char — NOT NULL
  • 활성화여부 (is_active) — boolean — NOT NULL
  • 관리자여부 (is_admin) — boolean — NOT NULL

VocalNotice (방법공유게시판)

  • 게시글 아이디 (id) — int — Primary key — NOT NULL
  • 작성자 (user_id) — int — Foreign key → User.아이디 — NOT NULL
  • 제목 (title) — char — NOT NULL
  • 내용 (centent) — text — NOT NULL
  • 게시글이미지 (article_image) — image
  • 수정일 (update_at) — datetime
  • 작성일 (created_at) — datetime
  • 조회수 (hits) — positiveinteger — NOT NULL