源战役
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

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