Allen 2021-08-26 09:35:46 8792 0 0 0 0

增加版块相关扩展字段

alter table ty_forum add forum_icon varchar(100)    comment '网站标志';
alter table ty_forum add forum_type char(1)  default '1'  comment '类型';

alter table ty_forum add stat_main_today int(10)  default '0'  comment '今日回复数';
alter table ty_forum add stat_reply_today int(10)  default '0'  comment '今日回复数';

--更新默认值
update ty_forum set forum_icon='/static/icon/website03.png';
update ty_forum set forum_type='1';

Tag: TYCMS
我也要发一个   ·   返回首页   ·   返回[TYCMS]   ·   前一个   ·   下一个
欢迎评论
未登录,
请先 [ 注册 ] or [ 登录 ]
(一分钟即可完成注册!)
返回首页     ·   返回[TYCMS]   ·   返回顶部