batch_logs

ColumnTypeNullDefault Links to Comments MIME
id (Primary)int(11)No
batch_idvarchar(50)YesNULL
batch_numberint(11)YesNULL
group_idvarchar(100)YesNULL
messages_fetchedint(11)YesNULL
messages_newint(11)YesNULL
messages_duplicateint(11)YesNULL
messages_storedint(11)YesNULL
questions_detectedint(11)YesNULL
unanswered_countint(11)YesNULL
fetch_statusenum('pending', 'success', 'failed')Yespending
process_statusenum('pending', 'analyzed', 'sent', 'failed')Yespending
error_messagelongtextYesNULL
retry_countint(11)Yes0
fetch_start_atdatetimeYesNULL
fetch_end_atdatetimeYesNULL
analyze_start_atdatetimeYesNULL
analyze_end_atdatetimeYesNULL
created_attimestampNoCURRENT_TIMESTAMP

Indexes

No index defined!
KeynameTypeUniquePackedColumnCardinalityCollationNullComment
PRIMARYBTREEYesNoid0ANo
batch_idBTREEYesNobatch_id0AYes
uk_batch_idBTREEYesNobatch_id0AYes
idx_statusBTREENoNofetch_status0AYes
process_status0AYes
idx_createdBTREENoNocreated_at0ANo
idx_groupBTREENoNogroup_id0AYes

unanswered_questions

ColumnTypeNullDefault Links to Comments MIME
id (Primary)int(11)No
message_idvarchar(100)YesNULL
batch_idvarchar(50)YesNULL
group_idvarchar(100)YesNULL
sender_numbervarchar(50)YesNULL
sender_namevarchar(100)YesNULL
question_texttextYesNULL
question_timestampdatetimeYesNULL
days_pendingint(11)YesNULL
priorityenum('critical', 'urgent', 'high', 'medium', 'low')Yesmedium
statusvarchar(50)Yespending
resolved_atdatetimeYesNULL
ai_modelvarchar(50)YesNULL
ai_confidencefloatYesNULL
created_attimestampNoCURRENT_TIMESTAMP
updated_attimestampNoCURRENT_TIMESTAMP

Indexes

No index defined!
KeynameTypeUniquePackedColumnCardinalityCollationNullComment
PRIMARYBTREEYesNoid27ANo
idx_message_idBTREENoNomessage_id27AYes
idx_batch_idBTREENoNobatch_id2AYes
idx_groupBTREENoNogroup_id27AYes
status27AYes
idx_senderBTREENoNosender_number2AYes
idx_statusBTREENoNostatus2AYes
idx_priorityBTREENoNopriority2AYes
idx_createdBTREENoNocreated_at2ANo
idx_pending_daysBTREENoNodays_pending2AYes

whatsapp_chats

ColumnTypeNullDefault Links to Comments MIME
id (Primary)int(11)No
message_idvarchar(100)No
batch_idvarchar(50)YesNULL
group_idvarchar(100)YesNULL
sender_numbervarchar(50)YesNULL
sender_namevarchar(100)YesNULL
message_textlongtextYesNULL
message_timestampbigint(20)YesNULL
message_datetimedatetimeYesNULL
created_attimestampNoCURRENT_TIMESTAMP
processedtinyint(1)Yes0
processed_atdatetimeYesNULL
deleted_atdatetimeYesNULL
has_questiontinyint(1)Yes0
is_answertinyint(1)Yes0
ai_confidencefloatYesNULL

Indexes

No index defined!
KeynameTypeUniquePackedColumnCardinalityCollationNullComment
PRIMARYBTREEYesNoid82ANo
message_idBTREEYesNomessage_id82ANo
uk_message_idBTREEYesNomessage_id82ANo
idx_batch_idBTREENoNobatch_id2AYes
idx_group_idBTREENoNogroup_id2AYes
idx_senderBTREENoNosender_number27AYes
idx_processedBTREENoNoprocessed2AYes
idx_createdBTREENoNocreated_at2ANo
ft_textFULLTEXTNoNomessage_text82Yes

whatsapp_chats_archive

ColumnTypeNullDefault Links to Comments MIME
id (Primary)int(11)No
message_idvarchar(100)YesNULL
batch_idvarchar(50)YesNULL
group_idvarchar(100)YesNULL
sender_numbervarchar(50)YesNULL
sender_namevarchar(100)YesNULL
message_textlongtextYesNULL
message_timestampbigint(20)YesNULL
message_datetimedatetimeYesNULL
archived_attimestampNoCURRENT_TIMESTAMP
original_created_atdatetimeYesNULL

Indexes

No index defined!
KeynameTypeUniquePackedColumnCardinalityCollationNullComment
PRIMARYBTREEYesNoid0ANo
message_idBTREEYesNomessage_id0AYes
idx_dateBTREENoNoarchived_at0ANo
idx_groupBTREENoNogroup_id0AYes