Tech Interview DefenseERD

Tables (5)

Chat (chat)

  • 채팅일련번호 (id) — BIGINT — Primary key — NOT NULL
  • 유저일련번호 (user_id) — BIGINT — Foreign key → User.유저일련번호 — NOT NULL
  • 기술일련번호 (tech_id) — BIGINT — Foreign key → Tech.기술일련번호 — NOT NULL
  • 멘토링레벨 (mentoring_level) — ENUM
  • 멘토링어조 (tone) — VARCHAR
  • 인터뷰디펜스여부 (is_defense_mode) — BIT
  • 채팅생성일시 (created_at) — DATETIME
  • 채팅수정일시 (modified_at) — DATETIME

ChatMessage (chat_message)

  • 채팅메세지 일련번호 (id) — BIGINT — Primary key — NOT NULL
  • 메세지내용 (content) — TEXT
  • 유저메세지 여부 (is_user_message) — BIT
  • 채팅메세지 생성일시 (created_at) — DATETIME
  • 채팅일련번호 (chat_id) — BIGINT — Foreign key → Chat.채팅일련번호 — NOT NULL

Tech (tech)

  • 기술일련번호 (id) — BIGINT — Primary key — NOT NULL
  • 기술이름 (name) — VARCHAR
  • 기술생성일시 (created_at) — DATETIME

User (user)

  • 유저일련번호 (id) — BIGINT — Primary key — NOT NULL
  • 유저이메일 (email) — VARCHAR
  • 유저닉네임 (nickname) — VARCHAR
  • Oauth 로그인타입 (oauth_login_type) — ENUM
  • 프로필이미지 URL (profile_img_url) — VARCHAR
  • 유저생성일시 (created_at) — DATETIME
  • 유저수정일시 (modified_at) — DATETIME

UserTech (user_tech)

  • 유저기술일련번호 (id) — BIGINT — Primary key — NOT NULL
  • 유저일련번호 (user_id) — BIGINT — Foreign key → User.유저일련번호 — NOT NULL
  • 기술일련번호 (tech_id) — BIGINT — Foreign key → Tech.기술일련번호 — NOT NULL
  • 유저기술생성일시 (created_at) — DATETIME