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

22 lines
1.2 KiB

  1. -- liushl
  2. CREATE TABLE `offline_hosting_setting`(
  3. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '玩家ID',
  4. `set_list` varchar(255) NOT NULL DEFAULT '[]' COMMENT '设置了忽略活动列表',
  5. `value` int(11) NOT NULL DEFAULT '0' COMMENT '托管值',
  6. `u_time` int(11) NOT NULL DEFAULT '0' COMMENT '托管值刷新时间',
  7. PRIMARY KEY(`role_id`)
  8. )ENGINE=InnoDB CHARSET=utf8 COMMENT="离线托管设置(合服保留)";
  9. CREATE TABLE `offline_hosting_log`(
  10. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '序号',
  11. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '玩家ID',
  12. `module_id` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '功能ID',
  13. `sub_id` tinyint(2) UNSIGNED NOT NULL DEFAULT 0 COMMENT '子ID',
  14. `cost_value` smallint(5) UNSIGNED NOT NULL DEFAULT 0 COMMENT '托管值',
  15. `award` varchar(2000) NOT NULL DEFAULT '' COMMENT '奖励记录',
  16. `duration` smallint(5) UNSIGNED NOT NULL DEFAULT 0 COMMENT '持续时间',
  17. `time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '时间',
  18. PRIMARY KEY(`id`),
  19. KEY role(`role_id`),
  20. KEY time(`time`)
  21. )ENGINE=InnoDB CHARSET=utf8 COMMENT="离线托管日志(合服保留)";