Skip to content

post_auths

Column NameTypeCommentDefaultNullRemark
idbigint UNSIGNEDRecord IDNOAuto Increment
post_idbigint UNSIGNEDPost IDNORelated field posts->id
auth_typetinyint UNSIGNEDType1NO1.User / 2.Role
auth_idbigint UNSIGNEDTarget IDNORelated field users->id
Related field roles->id
created_attimestampCreate TimeuseCurrentNOFor example, MySQL defaults to CURRENT_TIMESTAMP
updated_attimestampUpdate TimeYES
deleted_attimestampDelete TimeYES

Released under the Apache-2.0 License