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

26 lines
1.6 KiB

  1. -- tyl
  2. -- 性格系统增加宝箱采集控制
  3. ALTER TABLE role_nature ADD COLUMN `collect_times` TINYINT(2) UNSIGNED NOT NULL DEFAULT '0' COMMENT '宝箱采集次数' AFTER `overflow_value`;
  4. -- 修改宠物系统
  5. DROP TABLE IF EXISTS pet_support_statistics;
  6. ALTER TABLE role_pet DROP COLUMN `pet_stage`, DROP COLUMN `is_follow`;
  7. ALTER TABLE pet_support_info DROP COLUMN `support_type`;
  8. DROP TABLE IF EXISTS `pet_support_rank`;
  9. CREATE TABLE `pet_support_rank` (
  10. `pet_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '宠物Id',
  11. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '今日投票榜战力头名角色Id',
  12. `support_count` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '今日投票数',
  13. `yest_role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '昨日榜战力头名玩家Id',
  14. `yest_support_count` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '宠物昨天的投票人数',
  15. `time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '时间戳',
  16. PRIMARY KEY (`pet_id`)
  17. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='宠物全服支援排行榜数据表';
  18. CREATE TABLE IF NOT EXISTS `pet_vote_info` (
  19. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '角色Id',
  20. `vote_count` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '投票次数',
  21. `pet_list` varchar(255) NOT NULL DEFAULT '[]' COMMENT '投票的宠物列表',
  22. `receive_pet_list` varchar(255) NOT NULL DEFAULT '[]' COMMENT '已领取奖励宠物列表',
  23. PRIMARY KEY (`role_id`)
  24. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='宠物投票信息';