aichart3
Tables (4)
chatbot_feedback
- chatbot_feedback_id — bigint(20) — Primary key — NOT NULL — 피드백 기본키
- message_id — bigint(20) — Foreign key → message.message_id — NOT NULL — 메시지 고유 기본키 (FK)
- user_id — varchar(36) — NOT NULL — 피드백 등록 사용자
- feedback_type — varchar(10) — NOT NULL — 좋아요/싫어요 값
- created_at — datetime(6) — NOT NULL — 피드백 등록 시점
- INDEX — idx_message_id
file_contents
- id — int(11) — Primary key — NOT NULL — 파일 고유 식별자
- file_path — varchar(1024) — NOT NULL — 서버 저장 경로
- file_name — varchar(512) — NOT NULL — 원본 파일명
- trans_file_name — varchar(512) — 변환된 파일명
- file_ext — varchar(50) — NOT NULL — 파일 확장자
- file_size — bigint(20) — NOT NULL — 파일용량(byte)
- file_hash — char(64) — NOT NULL — 무결성 검증값
- file_blob — longblob — 바이너리 데이터
- file_status — varchar(32) — 처리 상태값
- is_updated — tinyint(1) — NOT NULL — 파일 변경 여부
- is_deleted — tinyint(1) — NOT NULL — 파일 삭제 여부
- is_transferring — tinyint(1) — NOT NULL — 파일 전송 상태
- transfer_attempt — int(11) — NOT NULL — 파일 전송 건수
- is_indexed — tinyint(1) — NOT NULL — 색인 완료 여부
- last_transferred_at — datetime — 마지막 전송 시각
- collected_at — datetime — NOT NULL — 파일 수집 시각
- INDEX — idx_file_path
- INDEX — idx_file_hash
- INDEX — idx_is_deleted
- INDEX — idx_is_indexed
- INDEX — idx_collected_at
file_info
- id — int(11) — Primary key — NOT NULL — 파일 메타정보 고유 기본키
- status — varchar(100) — NOT NULL — 파일 색인 처리 상태 값
- file_id — int(11) — Foreign key → file_contents.id — NOT NULL — 파일 고유 식별자 (FK)
- file_title — varchar(255) — NOT NULL — 업로드된 파일의 제목
- extension — varchar(20) — NOT NULL — 파일의 확장자 정보
- file_path — longtext — NOT NULL — 서버 내부 저장 경로 정보
- user_id — varchar(100) — NOT NULL — 사용자아이디
- created_at — varchar(100) — NOT NULL — 파일 색인 처리 시점
- file_size — bigint(20) — NOT NULL — 파일 용량(Byte)
- collection — varchar(100) — NOT NULL — 저장 폴더 구분값
- content_hash — varchar(256) — 파일 무결성 검증 해시값
- source — varchar(50) — 파일 유입 출처 정보
- summary — varchar(2000) — 파일 문서 자동 요약 정보
- INDEX — idx_file_id
message
- message_id — bigint(20) — Primary key — NOT NULL — 메시지 고유 기본키
- created_at — datetime(6) — NOT NULL — 메시지 생성시간
- created_by — varchar(100) — NOT NULL — 메시지 작성 사용자 계정
- debug_info_maplongtext — longtext — 내부 처리 디버그 정보
- deleted — varchar(1) — NOT NULL — 삭제 여부
- feedback_type — varchar(10) — 사용자 피드백 값
- uxia_plugin_type — varchar(50) — NOT NULL — Luxia 플러그인 유형
- message — varchar(5000) — NOT NULL — 메시지 본문
- message_type — varchar(10) — NOT NULL — USER / ASSISTANT 구분
- suggest_question_list — varchar(1000) — 추천 질문 리스트
- uuid — varchar(36) — NOT NULL — 메시지 UUID
- conversation_id — bigint(20) — NOT NULL — 대화 식별자
- question_message_id — bigint(20) — Foreign key → message.message_id — 참조 질문 메시지 ID
- index_number — bigint(20) — NOT NULL — 응답 순번
- parent_id — bigint(20) — Foreign key → message.message_id — 부모 메시지 ID
- parent_uuid — varchar(255) — 부모 메시지 UUID
- usage — text — 토큰 사용량 정보(JSON)
- INDEX — idx_conversation_id
- INDEX — idx_question_message_id
- INDEX — idx_parent_id