mbtiproject
Tables (10)
ActivityLog (Untitled10)
- id (PK) — Primary key — NOT NULL
- user_id (사용자PK)
- nickname_snapshot (닉네임 스냅샷)
- provider_snapshot (소셜폼 스냅샷)
- tag_snapshot (태그 스냅샷)
- event_type (이벤트종류)
- target_type (타겟종류)
- target_id (대상id)
- metadata (부가정보 JSON)
- ip_address (접속ip)
- user_agent (브라우저정보)
- created_at (발생시각)
ResultArtwork (캐릭터 이미지 리소스)
- id (PK) — Primary key — NOT NULL
- test_id (테스트PK) — Foreign key → TestResult.id — NOT NULL
- result_code (결과코드)
- style_name (스타일이름)
- title (결과 카드 제목)
- description (결과 설명 문구)
- thumbnail_url (썸네일)
- status (상태)
- created_at (생성시각)
- updated_at (수정시각)
ResultArtworkComment (결과이미지 댓글)
- id (PK) — Primary key — NOT NULL
- result_artwork_id (캐릭터이미지PK) — Foreign key → ResultArtwork.id — NOT NULL
- user_id (작성자)
- content (코멘트)
- like_count (좋아요)
- created_at (생성일)
- updated_at (수정일)
- status (Field3)
ResultSelection (Untitled)
- id (PK) — Primary key — NOT NULL
- user_id (유저PK) — Foreign key → User.id — NOT NULL
- test_result_id (테스트결과PK) — Foreign key → TestResult.id — NOT NULL
- artwork_id (선택한 이미지)
- is_shared (공유여부)
- is_downloaded (다운로드 여부)
- selected_at (선택 시각)
- created_at (생성시각)
- updated_at (수정시각)
Test (테스트)
- id (PK) — Primary key — NOT NULL
- title (테스트명)
- slug (고유문자)
- description (테스트설명)
- thumbnail_url (썸네일)
- test_type (테스트타입)
- status (테스트상태)
- created_at (생성시각)
- updated_at (수정시각)
TestComment (테스트 댓글)
- id (PK) — Primary key — NOT NULL
- test_id (테스트PK) — Foreign key → Test.id — NOT NULL
- user_id (작성자) — Foreign key → User.id — NOT NULL
- content (코멘트내용)
- like_count (좋아요 수)
- created_at (생성일)
- updated_at (수정일)
- status (상태)
TestOption (선택지)
- id (PK) — Primary key — NOT NULL
- question_id (질문PK) — Foreign key → TestQuestion.id — NOT NULL
- content (선택지내용)
- option_order (선택지순서)
- score_value (점수)
- dimension_key (축정보)
- created_at (생성시각)
- updated_at (수정시각)
TestQuestion (질문)
- id (PK) — Primary key — NOT NULL
- test_id (테스트PK) — Foreign key → Test.id — NOT NULL
- content (질문내용)
- question_order (질문순서)
- dimension_key (축정보)
- status (질문 상태)
- created_at (생성시각)
- updated_at (수정시각)
TestResult (테스트 결과)
- id (PK) — Primary key — NOT NULL
- user_id (유저PK) — Foreign key → User.id — NOT NULL
- test_id (테스트PK) — Foreign key → Test.id — NOT NULL
- result_code (결과코드)
- raw_score (원점수 JSON)
- started_at (테스트 시작 시각)
- completed_at (테스트 완료 시각)
- created_at (생성시각)
- updated_at (수정시각)
User (사용자)
- id (유저PK) — Primary key — NOT NULL
- provider (소셜로그인유형)
- provider_user_id (소셜로그인식별값)
- email (이메일)
- nickname (닉네임)
- tag (닉네임 태그)
- profile_image_url (프로필이미지)
- role (Field)
- status (계정상태)
- created_at (생성시각)
- updated_at (수정시각)