hashtag_linkeds 话题关联表

字段名字段类型字段注释默认值可空备注
idbigint UNSIGNED主键 IDNO自动递增
linked_typetinyint UNSIGNED类型NO1.帖子 / 2.评论
linked_idbigint UNSIGNED目标 IDNO关联字段 posts > id
关联字段 comments > id
hashtag_idbigint UNSIGNED话题 IDNO关联字段 hashtags > id
created_attimestamp创建时间CURRENT_TIMESTAMPNO
updated_attimestamp更新时间CURRENT_TIMESTAMPNO
deleted_attimestamp删除时间YES