DriveMate

테이블 (5)

관심사 키워드 (Keyword)

  • Key (keyword_id) — bigint — 기본 키 — NOT NULL
  • 분야 (Field) — ENUM
  • 이름 (name) — string

대화세션 (Chat)

  • Key (session_id) — bigint — 기본 키 — NOT NULL
  • Key (member_id) — bigint — 외래 키 → 회원.Key — NOT NULL
  • 시작시간 (started_at) — DATETIME
  • 끝난시간 (finished_at) — DATETIME
  • 내용 (content) — text
  • Field (is_deleted) — boolean

스트레칭 (Stretching)

  • Key (stretch_id) — bigint — 기본 키 — NOT NULL
  • 비디오 (is_video) — boolean
  • 유튜브 url (video_url) — string
  • Field (name) — string
  • Field (content) — string

회원 (Member)

  • Key (member_id) — bigint — 기본 키 — NOT NULL
  • 이름 (name) — string
  • 이메일 (email) — string
  • 비밀번호 (password) — string
  • 나이 (age) — int
  • 성별 (sex) — ENUM
  • 직업 (occupation) — string
  • Field (created_at) — DATETIME
  • Field (updated_at) — DATETIME
  • Field (is_deleted) — boolean
  • Field (deleted_at) — DATETIME

회원-키워드 (member_keyword)

  • Key (member_keyword_id) — bigint — 기본 키 — NOT NULL
  • Key (member_id) — bigint — 외래 키 → 회원.Key — NOT NULL
  • Key (keyword_id) — bigint — 외래 키 → 관심사 키워드.Key — NOT NULL