源战役
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
699 B

-- tyl 修改孩子数据表
alter table child_toy drop column toy_lv;
alter table role_child add column box_lv int(11) unsigned NOT NULL DEFAULT '0' COMMENT '玩具盒等级' AFTER show_vehicle;
alter table log_child_toy drop column toy_lv;
CREATE TABLE IF NOT EXISTS `log_child_toy_box` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '序号',
`role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '角色Id',
`box_lv` smallint(6) unsigned NOT NULL DEFAULT '0' COMMENT '玩具盒等级',
`time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '时间戳',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='孩子玩具盒等级日志表';