If empty, it represents a new comment draft, and there can be multiple records, equivalent to a single author having multiple drafts waiting to be published.
When there is an ID:
state=1, 2, or 4 means editing the existing content of the comment with that ID. No new drafts can be created for that ID, which is equivalent to having only one draft being edited for the same comment.
state=3 represents the historical official versions of the comment with that ID, which can have multiple instances.
Cannot be empty, as it records to which post the comment belongs.
Only top-level comments can have drafts; child comments cannot generate drafts, so the comment_id is not the parent comment ID.
state=1, 2, or 4 represents unpublished comments, and at this time, no new comment drafts for that post can be created. This is equivalent to having only one comment draft for the same post.
state=3, at this time, the comment_id is completed, indicating the historical versions of the comment with that comment_id.
comment_logs
Empty means a top-level comment
2.Published (Under review)
3.Published (Approved and archived)
4.Published (Rejected, back to draft status)
CURRENT_TIMESTAMP
comment_id
Field Description post_id
Field Description comment_id
is not the parent comment ID.comment_id
is completed, indicating the historical versions of the comment with thatcomment_id
.location_info
Complete Information