중퇴빕 v3
테이블 (23)
ai_overall_scores
- id — int8 — 기본 키 — NOT NULL
- evaluation_id — int8 — 외래 키 → evaluations.id — NOT NULL
- criterion — varchar(50) — NOT NULL
- score — numeric(5, 2)
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
ai_segment_feedbacks
- id — int8 — 기본 키 — NOT NULL
- metric_segment_id — int8 — 외래 키 → metric_segments.id — NOT NULL
- card_key — varchar(255) — NOT NULL
- score — int8
- observation — text
- possible_cause — text
- correction — text
- mesurement_confidence — varchar(255)
- evidence_id — jsonb
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
- metric_id — varchar(255)
- weight — int4
- value — numeric
- decides_style — bool
- status — varchar(50)
ai_video_uploads
- id — int8 — 기본 키 — NOT NULL
- media_asset_id — int8 — 외래 키 → media_assets.id — NOT NULL
- status — varchar(20) — NOT NULL
- ai_video_id — varchar(255)
- size_bytes — int8
- duration_ms — int8
- width — int4
- height — int4
- ai_created_at — timestamp(6)
- completed_at — timestamp(6)
- error_code — varchar(255)
- error_message — text
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
analysis_job
- id — int8 — 기본 키 — NOT NULL
- evaluation_id — int8 — 외래 키 → evaluations.id — NOT NULL
- requested_at — timestamp(6) — NOT NULL
- status — varchar(20) — NOT NULL
- error_code — varchar(255)
- error_message — text
- ai_job_id — varchar(255)
- ai_session_id — varchar(255)
- attempt_no — int8
- started_at — timestamp(6)
- finished_at — timestamp(6)
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
- ai_analysis_started_at — timestamp(6)
- callback_status_check_attempts — int4 — NOT NULL
- callback_status_check_lease_until — timestamp(6)
analysis_task_queue
- Key — int8 — 기본 키 — NOT NULL
- analysis_job_id — int8 — 외래 키 → analysis_job.id — NOT NULL
- queue_status — varchar(20) — NOT NULL
- locked_by — varchar(100)
- locked_at — timestamp(6)
- heartbeat_at — timestamp(6)
- lease_expires_at — timestamp(6)
- delivery_count — int4 — NOT NULL
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
- available_at — timestamp(6) — NOT NULL
evaluations
- id — int8 — 기본 키 — NOT NULL
- rehearsal_id — int8 — 외래 키 → rehearsals.id — NOT NULL
- run_no — int8 — NOT NULL
- status — varchar(20) — NOT NULL
- rubric_version — varchar(255) — NOT NULL
- pipeline_version — varchar(255) — NOT NULL
- model_info — jsonb
- input_snapshot — jsonb — NOT NULL
- vision_report_snapshot — jsonb
- report_schema_version — varchar(255)
- requested_at — timestamp(6) — NOT NULL
- completed_at — timestamp(6)
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
- ai_analysis_id — varchar(32)
- speech_report_snapshot — jsonb
- content_metadata — jsonb
expected_questions
- id — int8 — 기본 키 — NOT NULL
- evaluation_id — int8 — 외래 키 → evaluations.id — NOT NULL
- answer_no — int8 — NOT NULL
- question — text — NOT NULL
- answer_guide — text — NOT NULL
- status — varchar(255) — NOT NULL
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
expert_overall_scores
- id — int8 — 기본 키 — NOT NULL
- expert_review_id — int8 — 외래 키 → expert_reviews.id — NOT NULL
- criterion — varchar(50)
- score — int8
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
expert_reviews
- id — int8 — 기본 키 — NOT NULL
- evaluation_id — int8 — 외래 키 → evaluations.id — NOT NULL
- user_id — int8 — 외래 키 → users.id
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
- status — varchar(20) — NOT NULL
expert_segment_feedbacks
- id — int8 — 기본 키 — NOT NULL
- expert_review_id — int8 — 외래 키 → expert_reviews.id — NOT NULL
- timestamp — int8
- message — text
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
- start_ms — int8 — NOT NULL
- end_ms — int8 — NOT NULL
- target_type — varchar(20)
- chapter_id — int8
- criterion — varchar(30)
- requirement_item_id — int8
- judgment — varchar(30)
- suggestion — text
media_assets
- id — int8 — 기본 키 — NOT NULL
- rehearsal_id — int8 — 외래 키 → rehearsals.id — NOT NULL
- media_type — varchar(20) — NOT NULL
- upload_status — varchar(20) — NOT NULL
- s3_key — varchar(1024) — NOT NULL
- thumbnail_s3_key — varchar(1024)
- original_filename — varchar(255) — NOT NULL
- content_type — varchar(100) — NOT NULL
- size_bytes — int8 — NOT NULL
- duration_ms — int8 — NOT NULL
- uploaded_at — timestamp(6)
- access_revoked_at — timestamp(6)
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
metric_segments
- id — int8 — 기본 키 — NOT NULL
- evaluation_id — int8 — 외래 키 → evaluations.id — NOT NULL
- start_ms — int8 — NOT NULL
- end_ms — int8 — NOT NULL
- segment_no — int8 — NOT NULL
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
- segment_type — varchar(60) — NOT NULL
- segment_title — text — NOT NULL
- segment_stage — varchar(60) — NOT NULL
- segment_summary — text — NOT NULL
- segment_keypoint — _text — NOT NULL
- ai_segment_id — int8
notifications
- id — int8 — 기본 키 — NOT NULL
- user_id — int8 — 외래 키 → users.id — NOT NULL
- evaluation_id — int8 — 외래 키 → evaluations.id — NOT NULL
- notification_type — varchar(50) — NOT NULL
- created_at — timestamp(6) — NOT NULL
- read_at — timestamp(6)
presentation_assets
- id — int8 — 기본 키 — NOT NULL
- presentation_id — int8 — 외래 키 → presentations.id — NOT NULL
- file_type — varchar(20) — NOT NULL
- upload_status — varchar(20) — NOT NULL
- s3_key — varchar(255) — NOT NULL
- original_filename — varchar(255) — NOT NULL
- content_type — varchar(100) — NOT NULL
- size_bytes — int8 — NOT NULL
- uploaded_at — timestamp(6)
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
- access_revoked_at — timestamp(6)
presentations
- id — int8 — 기본 키 — NOT NULL
- user_id — int8 — 외래 키 → users.id — NOT NULL
- title — varchar(255) — NOT NULL
- category — varchar(255) — NOT NULL
- target_time — int8 — NOT NULL
- content — text
- context — text
- deleted_at — timestamp(6)
- is_term_agreed — bool — NOT NULL
- agreed_at — timestamp(6) — NOT NULL
- file_upload_status — varchar(32) — NOT NULL
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
rehearsals
- id — int8 — 기본 키 — NOT NULL
- presentation_id — int8 — 외래 키 → presentations.id — NOT NULL
- round_no — int8 — NOT NULL
- duration_ms — int8
- status — varchar(20) — NOT NULL
- started_at — timestamp(6) — NOT NULL
- finished_at — timestamp(6)
- source — varchar(20) — NOT NULL
- is_term_agreed — bool — NOT NULL
- agreed_at — timestamp(6) — NOT NULL
- deleted_at — timestamp(6)
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
requirement_assessment
- id — int8 — 기본 키 — NOT NULL
- requirement_item_id — int8 — 외래 키 → requirement_item.id — NOT NULL
- evaluation_id — int8 — 외래 키 → evaluations.id — NOT NULL
- status — varchar(20) — NOT NULL
- observed — text
- reason — text
- suggestion — text
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
requirement_assessment_evidence
- id — int8 — 기본 키 — NOT NULL
- requirement_assessment_id — int8 — 외래 키 → requirement_assessment.id — NOT NULL
- chapter_content_id — int8
- start_ms — int8
- end_ms — int8
- quote — text
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
requirement_item
- id — int8 — 기본 키 — NOT NULL
- requirement_set_id — int8 — 외래 키 → requirement_set.id — NOT NULL
- title — varchar(50)
- criterion — text — NOT NULL
- is_mandatory — bool — NOT NULL
- sort_order — int8 — NOT NULL
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
- description — text
- scope — varchar(50)
requirement_item_source
- id — int8 — 기본 키 — NOT NULL
- requirement_item_id — int8 — 외래 키 → requirement_item.id — NOT NULL
- presentation_asset_id — int8 — 외래 키 → presentation_assets.id — NOT NULL
- role — varchar(40) — NOT NULL
- page — int8
- section — varchar(255)
- quote — text
- sort_order — int8 — NOT NULL
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
requirement_set
- id — int8 — 기본 키 — NOT NULL
- presentation_id — int8 — 외래 키 → presentations.id — NOT NULL
- version — int4 — NOT NULL
- summary — text
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
rubrics
- id — int8 — 기본 키 — NOT NULL
- rubric_version — varchar(255) — NOT NULL
- gaze — jsonb — NOT NULL
- pace — jsonb — NOT NULL
- fluency — jsonb — NOT NULL
- expression — jsonb — NOT NULL
- tone — jsonb — NOT NULL
- gesture — jsonb — NOT NULL
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
users
- id — int8 — 기본 키 — NOT NULL
- email — varchar(255) — NOT NULL
- password_hash — varchar(255) — NOT NULL
- name — varchar(255) — NOT NULL
- role — varchar(20) — NOT NULL
- is_term_agreed — bool — NOT NULL
- agreed_at — timestamp(6) — NOT NULL
- created_at — timestamp(6) — NOT NULL
- updated_at — timestamp(6) — NOT NULL
- deleted_at — timestamp(6)