Hollang x weeks52

Tables (12)

answer (답변)

  • 답변 식별자 (answer_id) — BIGINT — Primary key — NOT NULL
  • 질문 식별자 (question_id) — BIGINT — Foreign key → question.질문 식별자 — NOT NULL
  • 테스트 식별자 (test_id) — BIGINT — Foreign key → question.테스트 식별자 — NOT NULL
  • 답변 번호 (number) — INT — NOT NULL
  • 답변 상세내용 (content) — VARCHAR(255) — NOT NULL
  • 등록 일시 (created_at) — TIMESTAMP — NOT NULL
  • 변경 일시 (updated_at) — TIMESTAMP — NOT NULL

fit_hobby_type (잘맞는 취미 유형)

  • 취미 유형 식별자 (hobby_type_id) — BIGINT — Foreign key → hobby_type.취미 유형 식별자 — NOT NULL
  • MBTI 타입 (mbti_type) — VARCHAR(4) — NOT NULL
  • 순위 (ranking) — INT — NOT NULL

hobby (취미)

  • 취미 식별자 (hobby_id) — BIGINT — Primary key — NOT NULL
  • 취미 이름 (name) — VARCHAR(50) — NOT NULL
  • 취미 요약정보 (summary) — VARCHAR(255) — NOT NULL
  • 취미 상세정보 (description) — VARCHAR(255) — NOT NULL
  • 취미 이미지 (img_url) — VARCHAR(255) — NOT NULL
  • 취미 컨텐츠 즐기기 URL (content_url) — VARCHAR(255) — NOT NULL
  • 취미 추천 횟수 (recommend_count) — BIGINT — NOT NULL
  • 등록 일시 (created_at) — TIMESTAMP — NOT NULL
  • 변경 일시 (updated_at) — TIMESTAMP — NOT NULL

hobby_type (취미 유형)

  • 취미 유형 식별자 (hobby_type_id) — BIGINT — Primary key — NOT NULL
  • 취미 유형 이름 (name) — VARCHAR(50) — NOT NULL
  • 취미 유형 상세정보 (description) — VARCHAR(255) — NOT NULL
  • 취미 유형 이미지 (img_url) — VARCHAR(255) — NOT NULL
  • MBTI 타입 (mbti_type) — VARCHAR(4) — NOT NULL
  • 등록 일시 (created_at) — TIMESTAMP — NOT NULL
  • 변경 일시 (updated_at) — TIMESTAMP — NOT NULL

question (질문)

  • 질문 식별자 (question_id) — BIGINT — Primary key — NOT NULL
  • 테스트 식별자 (test_id) — BIGINT — Foreign key → test.테스트 식별자 — NOT NULL
  • 질문 번호 (number) — INT — NOT NULL
  • 질문 상세내용 (content) — VARCHAR(255) — NOT NULL
  • 등록 일시 (created_at) — TIMESTAMP — NOT NULL
  • 변경 일시 (updated_at) — TIMESTAMP — NOT NULL

recommendation (추천)

  • 추천 식별자 (recommendation_id) — BIGINT — Primary key — NOT NULL
  • 테스트 응답 식별자 (test_response_id) — BIGINT — Foreign key → test_response.테스트 응답 식별자 — NOT NULL
  • 사용자 식별자 (user_id) — BIGINT — Foreign key → user.사용자 식별자 — NOT NULL
  • 취미 유형 식별자 (hobby_type_id) — BIGINT — Foreign key → hobby_type.취미 유형 식별자 — NOT NULL
  • MBTI 점수 (mbti_score) — JSON — NOT NULL
  • 등록 일시 (created_at) — TIMESTAMP — NOT NULL
  • 변경 일시 (updated_at) — TIMESTAMP — NOT NULL

recommendation_hobby (추천 취미)

  • 취미 식별자 (hobby_id) — BIGINT — Foreign key → hobby.취미 식별자 — NOT NULL
  • 추천 식별자 (recommendation_id) — BIGINT — Foreign key → recommendation.추천 식별자 — NOT NULL
  • 순위 (ranking) — INT — NOT NULL
  • 등록 일시 (created_at) — TIMESTAMP — NOT NULL
  • 변경 일시 (updated_at) — TIMESTAMP — NOT NULL

survey (설문조사)

  • 설문조사 식별자 (survey_id) — BIGINT — Primary key — NOT NULL
  • 추천 식별자 (recommendation_id) — BIGINT — Foreign key → recommendation_hobby.추천 식별자 — NOT NULL
  • 취미 식별자 (hobby_id) — BIGINT — Foreign key → recommendation_hobby.취미 식별자 — NOT NULL
  • 만족도 (satisfaction) — INT(3) — NOT NULL
  • 등록 일시 (created_at) — TIMESTAMP — NOT NULL
  • 변경 일시 (updated_at) — TIMESTAMP — NOT NULL

test (테스트)

  • 테스트 식별자 (test_id) — BIGINT — Primary key — NOT NULL
  • 테스트 버전 (version) — INT — NOT NULL
  • 등록 일시 (created_at) — TIMESTAMP — NOT NULL
  • 변경 일시 (updated_at) — TIMESTAMP — NOT NULL

test_response (테스트 응답)

  • 테스트 응답 식별자 (test_response_id) — BIGINT — Primary key — NOT NULL
  • 사용자 식별자 (user_id) — BIGINT — Foreign key → user.사용자 식별자 — NOT NULL
  • 등록 일시 (created_at) — TIMESTAMP — NOT NULL
  • 변경 일시 (updated_at) — TIMESTAMP — NOT NULL

test_response_detail (테스트 응답 상세정보)

  • 테스트 응답 식별자 (test_response_id) — BIGINT — Foreign key → test_response.테스트 응답 식별자 — NOT NULL
  • 답변 식별자 (answer_id) — BIGINT — Foreign key → answer.답변 식별자 — NOT NULL
  • 테스트 식별자 (test_id) — BIGINT — Foreign key — NOT NULL
  • 질문 식별자 (question_id) — BIGINT — Foreign key → answer.질문 식별자 — NOT NULL
  • 등록 일시 (created_at) — TIMESTAMP — NOT NULL
  • 변경 일시 (updated_at) — TIMESTAMP — NOT NULL

user (사용자)

  • 사용자 식별자 (user_id) — BIGINT — Primary key — NOT NULL
  • 사용자 이름 (name) — VARCHAR(6) — NOT NULL
  • 등록 일시 (created_at) — TIMESTAMP — NOT NULL
  • 변경 일시 (updated_at) — TIMESTAMP — NOT NULL