Skip to content
On this page

user_likes

Column NameTypeCommentDefaultNullRemark
idbigint UNSIGNEDPrimary Key IDNOAuto Increment
user_idbigint UNSIGNED用户主键 IDNO关联字段 users->id
mark_typetinyint UNSIGNED操作类型1NO1.正向(赞) / 2.反向(踩)
like_typetinyint UNSIGNED目标类型1NO1.用户 / 2.小组 / 3.话题 / 4.帖子 / 5.评论
like_idbigint UNSIGNED目标 IDNO1.关联字段 users > id
2.关联字段 groups > id
3.关联字段 hashtags > id
4.关联字段 posts > id
5.关联字段 comments > id
created_attimestamp点赞时间CURRENT_TIMESTAMPNO
updated_attimestampUpdate TimeYES
deleted_attimestampDelete TimeYES

Released under the Apache-2.0 License