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

54 lines
3.6 KiB

  1. -- liushl
  2. ALTER TABLE log_player_daily
  3. ADD COLUMN `fast_onhook_left` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '剩余超级加速次数' AFTER `guild_task`,
  4. ADD COLUMN `sup_vip_state` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '贵族状态(0未激活 1体验 2永久)' AFTER `fast_onhook_left`,
  5. ADD COLUMN `current_hosting` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '当前总托管值' AFTER `sup_vip_state`,
  6. ADD COLUMN `today_hosting` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '今日获得托管值' AFTER `current_hosting`,
  7. ADD COLUMN `gold` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '库存彩钻' AFTER `today_hosting`,
  8. ADD COLUMN `bgold` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '库存红钻' AFTER `gold`,
  9. ADD COLUMN `trade` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '库存交易券' AFTER `bgold`;
  10. -- ljy
  11. -- 充值商品表字段拓展
  12. ALTER TABLE recharge_act ADD COLUMN `end_time` INT(11) NOT NULL DEFAULT '0' COMMENT '结束时间';
  13. -- tyl
  14. -- 全民动员数据
  15. CREATE TABLE `mobilize_task` (
  16. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '角色Id',
  17. `sub_type` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '活动子类型Id',
  18. `start_day` smallint(3) unsigned NOT NULL DEFAULT '0' COMMENT '开始天数',
  19. `end_day` smallint(3) unsigned NOT NULL DEFAULT '0' COMMENT '结束天数',
  20. `task_type` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '任务类型Id',
  21. `progress` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '进度',
  22. `award_log` varchar(500) NOT NULL DEFAULT '[]' COMMENT '奖励领取情况',
  23. `time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间戳',
  24. PRIMARY KEY (`role_id`,`sub_type`,`start_day`,`end_day`,`task_type`)
  25. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='全民动员-任务进度数据';
  26. CREATE TABLE `mobilize_days_reward` (
  27. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '角色Id',
  28. `sub_type` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '活动子Id',
  29. `start_day` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '开始天数',
  30. `end_day` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '结束天数',
  31. `total` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '完成任务数量',
  32. `state` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '大奖领取状态',
  33. PRIMARY KEY (`role_id`,`sub_type`,`start_day`,`end_day`)
  34. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='全民动员-天数大奖数据';
  35. DROP TABLE IF EXISTS `mobilize_fake_cord`;
  36. CREATE TABLE `mobilize_fake_cord` (
  37. `task_type` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '任务类型',
  38. `fake_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '假数据id',
  39. `act` int(11) NOT NULL DEFAULT '0' COMMENT '活动子Id',
  40. `day` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '开始天数',
  41. `stime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '开始时间',
  42. `etime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '截止时间',
  43. `ltime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '上次更新',
  44. `remain_score` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '应补助分',
  45. `per_score` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '单次补助分',
  46. `remain_times` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '补助频率',
  47. `remain_click` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '补助计数器',
  48. `process` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '目前进度',
  49. `real_pro` int(11) NOT NULL DEFAULT '0' COMMENT '真实进度',
  50. PRIMARY KEY (`task_type`,`fake_id`,`act`,`day`)
  51. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='全民动员 合服保留主服';