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

21 line
1.2 KiB

  1. -- 移植跨服分区 tyl
  2. DROP TABLE IF EXISTS `chat_zone`;
  3. CREATE TABLE `chat_zone` (
  4. `server_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '服务器Id(后台唯一服号)',
  5. `zone_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '分区Id',
  6. `platform` varchar(100) NOT NULL DEFAULT '' COMMENT '平台名',
  7. `server_num` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '服务器编号(玩家可见的服编号)',
  8. `time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '加入分区时间戳',
  9. PRIMARY KEY (`server_id`)
  10. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='聊天监控-分区信息(在跨服中使用-合跨服合并保留)';
  11. -- 每日票券
  12. DROP TABLE IF EXISTS `role_daily_coupon`;
  13. CREATE TABLE `role_daily_coupon`(
  14. `role_id` bigint(20) UNSIGNED NOT NULL COMMENT '玩家id',
  15. `send_list` varchar(5000) NOT NULL DEFAULT '[]' COMMENT '每日赠送列表',
  16. `send_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最后赠送时间',
  17. `gift_list` varchar(5000) NOT NULL DEFAULT '[]' COMMENT '每日领取列表',
  18. `gift_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最后领取时间',
  19. PRIMARY KEY(`role_id`)
  20. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='好友每日票券';