SpeaKing

테이블 (9)

로컬 로그인 유저 (LocalLogin)

  • 로컬로그인id (loc_id) — int — 기본 키 — NOT NULL
  • 비밀번호 (user_password) — text
  • 유저id (user_id) — int — 외래 키 → 유저정보.유저id — NOT NULL

목표 (Goal)

  • 목표id (goal_Id) — int — 기본 키 — NOT NULL
  • 목표이름 (goal_name) — text
  • 목표등록날짜 (goal_start) — DATE
  • 목표기간 (goal_days) — int
  • 달성일수 (achieve_days) — int
  • 달성여부 (achievement) — text
  • 유저id (user_id) — int — 외래 키 → 유저정보.유저id — NOT NULL

소셜 로그인 유저 (SocialLogin)

  • 소셜로그인id (soc_id) — int — 기본 키 — NOT NULL
  • 소셜로그인가입유형 (soc_type) — text
  • 소셜로그인정보 (soc_auth_info) — varchar(128) — NOT NULL
  • 유저id (user_id) — int — 외래 키 → 유저정보.유저id — NOT NULL

스피킹 (Speaking)

  • 스피킹id (speaking_id) — int — 기본 키 — NOT NULL
  • 녹음텍스트 (recording_text) — text
  • 녹음음성 (recording_voice) — text
  • 녹음시간 (recording_time) — TIME
  • 제목 (title) — text
  • 저장날짜 (save_date) — DATE
  • 발음점수 (pronunciation) — float
  • 말하기속도 (speed) — float
  • 격식비격식 (formality) — text
  • 문법 수정 텍스트 (corrected_text) — text
  • 유저id (user_id) — int — 외래 키 → 유저정보.유저id — NOT NULL
  • 글 삭제 여부 (is_removed) — tinyint

스피킹카테고리 (Category)

  • 카테고리id (category_id) — int — 기본 키 — NOT NULL
  • 카테고리이름 (category_name) — text
  • 스피킹id (speaking_id) — int — 외래 키 → 스피킹.스피킹id — NOT NULL

유저정보 (UserInfo)

  • 유저id (user_id) — int — 기본 키 — NOT NULL
  • 이메일 (user_ email) — text
  • 닉네임 (user_nickname) — text
  • 프로필사진 (pfp_path) — text
  • 가입타입(로컬/소셜) (sign_type) — text
  • 자기소개 (profile_content) — text
  • 목표유무 (goal) — text

자주쓰는 단어 (Word)

  • 단어id (word_id) — int — 기본 키 — NOT NULL
  • 단어 (word) — text
  • 단어횟수 (word_count) — int
  • 스피킹id (speaking_id) — int — 외래 키 → 스피킹.스피킹id — NOT NULL

캘린더 (Calendar)

  • 캘린더id (cal_id) — int — 기본 키 — NOT NULL
  • 날짜 (cal_date) — DATE
  • 하루에 스피킹한 횟수 (day_count) — int
  • 유저id (user_id) — int — 외래 키 → 유저정보.유저id — NOT NULL

통계 (Statistic)

  • 통계id (stat_id) — int — 기본 키 — NOT NULL
  • 스피킹총횟수 (total_count) — int
  • 스피킹총시간 (total_time) — TIME
  • 유저id (user_id) — int — 외래 키 → 유저정보.유저id — NOT NULL