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

27 lines
1.2 KiB

  1. -- liushl
  2. CREATE TABLE `log_offline_hosting`(
  3. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '序号',
  4. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '玩家ID',
  5. `name` varchar(50) NOT NULL DEFAULT '' COMMENT '名字',
  6. `module_id` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '功能ID',
  7. `sub_id` tinyint(2) UNSIGNED NOT NULL DEFAULT 0 COMMENT '子ID',
  8. `cost_value` smallint(5) UNSIGNED NOT NULL DEFAULT 0 COMMENT '托管值',
  9. `award` varchar(2000) NOT NULL DEFAULT '' COMMENT '奖励记录',
  10. `duration` smallint(5) UNSIGNED NOT NULL DEFAULT 0 COMMENT '持续时间',
  11. `time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '时间',
  12. PRIMARY KEY(`id`),
  13. KEY role(`role_id`),
  14. KEY time(`time`)
  15. )ENGINE=InnoDB CHARSET=utf8 COMMENT="离线托管日志";
  16. -- liushl
  17. CREATE TABLE role_war_soul_collect(
  18. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '玩家ID',
  19. `goods_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '物品id',
  20. PRIMARY KEY (`role_id`,`goods_id`)
  21. )ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='战魂-收集(合服保留)';
  22. -- 删除旧的收集活动相关数据表(与采集名称冲突)
  23. DROP TABLE IF EXISTS `collect_all_num`;
  24. DROP TABLE IF EXISTS `collect_player_info`;