reflection_report_comment_notification_queue

0 rows


Description

AIリフレクションレポートコメント通知キュー

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id CHAR 36 null

通知キューID (UUID)

report_id CHAR 36 null

レポートID

recipient_user_id CHAR 36 null

通知先ユーザーID

commenter_user_ids JSON 1073741824 null

コメント投稿者のユーザーIDリスト(最大3件)

comment_count INT 10 1

未通知のコメント数

first_comment_at BIGINT UNSIGNED 20 null

最初のコメント時刻

last_comment_at BIGINT UNSIGNED 20 null

最新のコメント時刻

scheduled_send_at BIGINT UNSIGNED 20 null

通知送信予定時刻

status enum('PENDING', 'SENT', 'CANCELLED') 9 PENDING

通知ステータス

created_at BIGINT UNSIGNED 20 unix_timestamp(now())

作成日時(UNIX時間)

updated_at BIGINT UNSIGNED 20 unix_timestamp(now())

更新日時(UNIX時間)

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_recipient_status Performance Asc/Asc/Asc recipient_user_id + status + scheduled_send_at
idx_report_recipient Performance Asc/Asc report_id + recipient_user_id
idx_status_scheduled Performance Asc/Asc status + scheduled_send_at

Relationships