embitips

Tables (5)

User (Untitled)

  • 회원 식별자 (user_id) — BIGINT UNSIGNED — Primary key — NOT NULL
  • 회원 이메일 (user_email) — VARCHAR(30) — NOT NULL

conversation (Untitled2)

  • 대화방 식별자 (conversation_id) — BIGINT UNSIGNED — Primary key — NOT NULL
  • 생성일 (created_at) — DATETIME
  • 최근사용일 (updated_at) — DATETIME
  • 회원 식별자 (user_id) — BIGINT UNSIGNED — Foreign key → User.회원 식별자 — NOT NULL
  • 가상 친구 식별자 (virtual_friend_id) — BIGINT UNSIGNED — Foreign key → virtual_friend.가상 친구 식별자 — NOT NULL

interest (Untitled5)

  • Key — Primary key — NOT NULL

messages (Untitled4)

  • 메시지식별자 (message_id) — BIGINT UNSIGNED — Primary key — NOT NULL
  • 대화방 식별자 (conversation_id) — Foreign key → conversation.대화방 식별자 — NOT NULL
  • 회원 식별자 (user_id) — BIGINT UNSIGNED — Foreign key → User.회원 식별자 — NOT NULL
  • 가상 친구 식별자 (virtual_friend_id) — BIGINT UNSIGNED — Foreign key → virtual_friend.가상 친구 식별자 — NOT NULL
  • 메시지 내용 (message_content) — VARCHAR(500) — NOT NULL
  • 보낸시간 (sent_at) — DATETIME — NOT NULL
  • (확인여부) (is_read) — BOOLEAN — NOT NULL

virtual_friend (Untitled3)

  • 가상 친구 식별자 (virtual_friend_id) — BIGINT UNSIGNED — Primary key — NOT NULL
  • 회원 식별자 (user_id) — BIGINT UNSIGNED — Foreign key → User.회원 식별자 — NOT NULL
  • MBTI (mbti) — ENUM — NOT NULL
  • 가상친구이름 (virtual_friend_name) — VARCHAR(20)
  • 가상친구나이 (virtual_friend_age) — INT — NOT NULL
  • 가상친구성별 (vitrual_friend_sex) — VARCHAR(4) — NOT NULL
  • 가상친구관계 (virtual_friend_relationship) — VARCHAR(20) — NOT NULL