Skip to content

geotags 地理表

字段名字段类型字段注释默认值可空备注
idint UNSIGNED主键 IDNO自动递增
gtidvarchar(32)对外公开 IDNO唯一值
typesmallint UNSIGNED类型1NO用于自定义用途,比如分类或过滤
cover_file_idbigint UNSIGNED封面图 IDYES关联字段 files->id
cover_file_urlvarchar(255)封面图 URLYES
place_idvarchar(64)Place IDYES唯一值
地图服务商专属 ID
place_typevarchar(64)Place TypeunknownNO地图服务商地点位置
namejson地理名YES多语言
descriptionjson地理描述YES多语言
city_idint UNSIGNED城市 IDYES
map_idtinyint UNSIGNED服务商编号1NO来源地图服务商键值字典
map_longitudedecimal(12,8)地图-经度NO浮点数,范围为 -180~180,负数表示西经
map_latitudedecimal(12,8)地图-纬度NO浮点数,范围为 -90~90,负数表示南纬
map_locationgeometry地图-经纬度NOlongitude, latitude
SRID 4326
districtjson地区YES多语言
addressjson地址YES多语言
more_infojson更多信息字段YES
view_countint UNSIGNED浏览数0NO由插件记录
like_countint UNSIGNED赞数0NO有多少用户赞了该地理
dislike_countint UNSIGNED踩数0NO有多少用户踩了该地理
follow_countint UNSIGNED关注数0NO有多少用户关注了(收藏)该地理
block_countint UNSIGNED屏蔽数0NO有多少用户屏蔽了(不感兴趣)该地理
post_countint UNSIGNED帖子数0NO有多少帖子关联了该地理
comment_countint UNSIGNED评论数0NO有多少评论关联了该地理
post_digest_countint UNSIGNED精华数0NO插件操作加精,插件加减统计数
comment_digest_countint UNSIGNED精华数0NO插件操作加精,插件加减统计数
last_post_attimestamp最后发表帖子时间YES
last_comment_attimestamp最后发表评论时间YES
is_enabledtinyint UNSIGNED是否启用1NO0.不启用 / 1.启用
created_attimestamp创建时间useCurrentNO比如 MySQL 默认值为 CURRENT_TIMESTAMP
updated_attimestamp更新时间YES
deleted_attimestamp删除时间YES

Released under the Apache-2.0 License