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

33 lines
1.6 KiB

  1. -- hh
  2. -- 七天登录
  3. ALTER TABLE `login_reward_player`
  4. DROP COLUMN `day_id`;
  5. ALTER TABLE `login_reward_player`
  6. ADD COLUMN `day_states` varchar(500) NOT NULL DEFAULT '[]' COMMENT '已领取天数';
  7. -- zmh
  8. -- 活动数据
  9. CREATE TABLE `custom_act_data` (
  10. `rid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '角色Id',
  11. `type` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '定制活动主类型',
  12. `subtype` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '定制活动次类型',
  13. `time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '活动数据最后更新时间',
  14. `act_data` varchar(5000) NOT NULL DEFAULT '[]' COMMENT '定制活动统计数据',
  15. PRIMARY KEY (`rid`,`type`,`subtype`)
  16. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='定制活动-活动统计数据,合服保留';
  17. -- liushl
  18. -- 角色差异化定制活动
  19. CREATE TABLE `custom_act_personal` (
  20. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '角色Id',
  21. `type` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '定制活动主类型',
  22. `subtype` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '定制活动次类型',
  23. `s_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '活动开始时间',
  24. `e_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '活动结束时间',
  25. `time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '活动数据最后更新时间',
  26. `act_data` varchar(5000) NOT NULL DEFAULT '[]' COMMENT '定制活动统计数据##具体活动类型自定义',
  27. PRIMARY KEY (`role_id`,`type`,`subtype`)
  28. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='定制活动-角色差异化活动,合服保留';