Opensource_ChatDa

Tables (4)

detailed_talk

  • 세부대화아이디 (detailed_talk_id) — long — Primary key — NOT NULL
  • 대화아이디 (talk_id) — long — Foreign key → talk.대화아이디 — NOT NULL
  • 질문과응답구분 (category) — varchar(10)
  • 대화내용 (content) — text
  • 화제구분 (check_topic) — int

diary

  • 일기아이디 (diary_id) — long — Primary key — NOT NULL
  • 유저 아이디 (user_id) — long — Foreign key → user.유저 아이디 — NOT NULL
  • 대화아이디 (talk_id) — long — Foreign key → detailed_talk.세부대화아이디 — NOT NULL
  • 일기내용 (content) — text

talk

  • 대화아이디 (talk_id) — long — Primary key — NOT NULL
  • 유저 아이디 (user_id) — long — Foreign key → user.유저 아이디 — NOT NULL
  • 대화 종료 상태 (status) — varchar(10)
  • 생성날짜 (created_at) — datetime(6)

user

  • 유저 아이디 (user_id) — long — Primary key — NOT NULL
  • 사용자이름 (name) — varchar(20)