Skip to content

post_auths 帖子-授权记录表

字段名字段类型字段注释默认值可空备注
idbigint UNSIGNED记录 IDNO自动递增
post_idbigint UNSIGNED帖子 IDNO关联字段 posts->id
typetinyint UNSIGNED类型1NO1.用户 / 2.角色
object_idbigint UNSIGNED目标 IDNO关联字段 users->id
关联字段 roles->id
is_initialtinyint UNSIGNED是否为初始授权0NO0.否 / 1.是
created_attimestamp创建时间CURRENT_TIMESTAMPNO
updated_attimestamp更新时间YES
deleted_attimestamp删除时间YES

Released under the Apache-2.0 License