Skip to content

posts

Column NameTypeCommentDefaultNullRemark
idbigint UNSIGNEDPost IDNOAuto Increment
pidvarchar(32)Public IDNOUnique
user_idbigint UNSIGNEDPublisher IDNORelated field users->id
quoted_post_idbigint UNSIGNEDQuoted Post ID0NO0 means no quote
group_idint UNSIGNEDGroup ID0NORelated field groups->id
geotag_idint UNSIGNEDGeotag ID0NORelated field geotags->id
titlevarchar(255)TitleYES
contentlongtextContentYES
lang_tagvarchar(16)Language TagYES
is_markdowntinyint UNSIGNEDContent in MD format0NO0.No / 1.Yes
is_anonymoustinyint UNSIGNEDAnonymous0NO0.No / 1.Yes
sticky_statetinyint UNSIGNEDSticky state1NO1.No / 2.Group Sticky / 3.Global Sticky
digest_statetinyint UNSIGNEDDigest state1NO1.No / 2.General Digest / 3.Premium Digest
digested_attimestampDigest TimeYESTime set to Digest
view_countint UNSIGNEDNumber of View0NOCount by plugin
like_countint UNSIGNEDLike count0NONumber of users who liked the post
dislike_countint UNSIGNEDDislike count0NONumber of users who disliked the post
follow_countint UNSIGNEDFollow count0NONumber of users who followed (saved) the post
block_countint UNSIGNEDBlock count0NONumber of users who blocked (not interested) the post
comment_countint UNSIGNEDComment count0NONumber of comments on the post, including second-level replies
comment_digest_countint UNSIGNEDComment digest count0NOTotal number of digest comments on the post
comment_like_countint UNSIGNEDComment like count0NOTotal number of likes on all comments
comment_dislike_countint UNSIGNEDComment dislike count0NOTotal number of dislikes on all comments
comment_follow_countint UNSIGNEDComment follow count0NOTotal number of follows on all comments
comment_block_countint UNSIGNEDComment block count0NOTotal number of blocks on all comments
quote_countint UNSIGNEDQuoted count0NOTotal number of posts quoted it
edit_countsmallint UNSIGNEDNumber of edits0NOTotal number of edits
last_edit_attimestampEdit timeYESIf editable after publish, record edit time here
last_comment_attimestampComment timeYESTime of the latest comment
more_infojsonMore InfoYESE.g. publisher IP location name, device name, etc.
permissionsjsonPermissionsYES
rank_statetinyint UNSIGNEDRank Status1NO1 Not set
is_enabledtinyint UNSIGNEDIs Valid1NO0.Invalid (visible only to yourself) / 1.Valid
created_attimestampCreate TimeuseCurrentNOFor example, MySQL defaults to CURRENT_TIMESTAMP
updated_attimestampUpdate TimeYES
deleted_attimestampDelete TimeYES

Digest Description

General Digest

  • General display
  • Appears in the timeline of users who have followed the group

*When the Groups feature is enabled, by default only the content set as an digest under Groups will be displayed in the stream of the following page.

Premium Digest

  • Appears on all users' timeline

Introduction to Permission Parameters

json
{
    "editor": {
        "isAppEditor": "Boolean / Is it edited only in the app?",
        "editorFskey": "String / editor fskey"
    },
    "contentWritingDirection": "String / Writing Direction", // ltr or rtl
    "canDelete": "Boolean / Does the author have the right to delete?",
    "readConfig": {
        "isReadLocked": "Boolean / Is a reading auth required",
        "previewPercentage": "Number / content display ratio when unauthorized",
        "whitelist": {
            "users": "Array / whitelist user ID",
            "roles": "Array / whitelist role ID"
        },
        "buttonName": {
            "Language Tag": "String / Button Name",
            "en": "Name"
        },
        "appFskey": "String / auth app fskey"
    },
    "associatedUserListConfig": {
        "hasUserList": "Boolean / Is there a special user list?",
        "userListName": {
            "Language Tag": "String / User List Name",
            "en": "Name"
        },
        "appFskey": "String / user list app fskey"
    },
    "commentConfig": {
        "visible": "Boolean / Whether comments are visible (invisible is hidden from everyone, including the author)",
        "policy": "Number / Who can reply? 1. Everyone / 2. People you follow / 3. People you follow or verified / 4. No one is allowed / 5. Only users you mention",
        "privacy": "String / public or private (visible only to the author of the comment and the author of the post)",
        "action": {
            "hasActionButton": "Boolean / Does the comment have an action button?",
            "buttonName": {
                "Language Tag": "String / Button Name",
                "en": "Name"
            },
            "buttonStyle": "String / Button Style: primary secondary success danger warning info",
            "appFskey": "String / App fskey"
        }
    },
}

Released under the Apache-2.0 License