cs-ai-interviewer

Tables (5)

chat (채팅)

  • id — bigint(20) — Primary key — NOT NULL — 아이디
  • subject_id (주제 식별자) — bigint(20) — Foreign key → subject.id — NOT NULL
  • member_id (멤버 식별자) — bigint(20) — Foreign key → member.id — NOT NULL
  • message (채팅 내용) — text — NOT NULL — 채팅
  • score (점수 (chat_type이 answer일때만)) — int(11) — 점수
  • chat_type (질문/답변) — varchar(255) — NOT NULL — 채팅 유형
  • created_at — timestamp(6) — NOT NULL — 생성일
  • updated_at — timestamp(6) — NOT NULL — 수정일

chat_archive (채팅 아카이브)

  • id — bigint(20) — Primary key — NOT NULL
  • subject_id (주제 식별자) — bigint(20) — Foreign key → subject.id — NOT NULL
  • member_id (멤버 식별자) — bigint(20) — Foreign key → member.id — NOT NULL
  • created_at — timestamp(6) — NOT NULL
  • updated_at — timestamp(6) — NOT NULL

chat_archive_content (채팅 아카이브 내용)

  • id — bigint(20) — Primary key — NOT NULL
  • chat_archive_id (채팅 아카이브 식별자) — bigint(20) — Foreign key → chat_archive.id — NOT NULL
  • message (채팅 내용) — text — NOT NULL — 채팅
  • score (점수 (chat_type이 answer일때만)) — int(11) — 점수
  • chat_type (질문/답변) — varchar(255) — NOT NULL — 채팅 유형
  • created_at — timestamp(6) — NOT NULL — 생성일
  • updated_at — timestamp(6) — NOT NULL — 수정일

member (멤버)

  • id (멤버 식별자) — bigint(20) — Primary key — NOT NULL
  • name (이름) — varchar(255) — NOT NULL
  • email (이메일) — varchar(255) — NOT NULL
  • login_type (구글, GitHub 등 로그인 타입) — varchar(255) — NOT NULL
  • created_at — timestamp(6) — NOT NULL
  • updated_at — timestamp(6) — NOT NULL

subject (주제)

  • id — bigint(20) — Primary key — NOT NULL
  • title (제목) — varchar(255) — NOT NULL — 제목
  • question (질문) — varchar(255) — NOT NULL — 질문
  • category (카테고리) — varchar(255) — NOT NULL — 카테고리
  • created_at — timestamp(6) — NOT NULL
  • updated_at — timestamp(6) — NOT NULL