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

69 lines
3.4 KiB

  1. -- hh
  2. -- 贵族兑换日志
  3. CREATE TABLE `log_sup_vip_exchange`(
  4. `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '序号',
  5. `role_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0 COMMENT '玩家id',
  6. `role_name` varchar(300) NOT NULL DEFAULT "" COMMENT '玩家名称',
  7. `vip_lv` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'vip等级',
  8. `type` tinyint(3) UNSIGNED NOT NULL DEFAULT 0 COMMENT '操作类型 1彩钻|2培养丹|3商城',
  9. `cost` varchar(255) NOT NULL DEFAULT '[]' COMMENT '消耗列表',
  10. `reward` varchar(300) NOT NULL DEFAULT '[]' COMMENT '奖励',
  11. `time_before` int(11) NOT NULL DEFAULT 0 COMMENT '兑换前次数',
  12. `time_after` int(11) NOT NULL DEFAULT 0 COMMENT '兑换后次数',
  13. `gold_before` int(11) NOT NULL DEFAULT 0 COMMENT '兑换前彩钻',
  14. `gold_after` int(11) NOT NULL DEFAULT 0 COMMENT '兑换后彩钻',
  15. `time` int(11) NOT NULL DEFAULT 0 COMMENT '时间',
  16. PRIMARY KEY(`id`)
  17. )ENGINE=InnoDB CHARSET=utf8 COMMENT="贵族兑换日志";
  18. -- 钻石vip日志贵族状态变更&贵族充值记录
  19. CREATE TABLE `log_sup_vip_status`(
  20. `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  21. `role_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0 COMMENT '玩家id',
  22. `sup_vip_type` tinyint(2) UNSIGNED NOT NULL DEFAULT 0 COMMENT '贵族状态',
  23. `active_type` tinyint(5) UNSIGNED NOT NULL DEFAULT 0 COMMENT '变更操作',
  24. `time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '操作时间',
  25. PRIMARY KEY(`id`)
  26. )ENGINE=InnoDB CHARSET=utf8 COMMENT="贵族状态变更";
  27. CREATE TABLE `log_trial_sup_vip_charge`(
  28. `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  29. `role_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0 COMMENT '玩家id',
  30. `gold` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '本次增加钻石数',
  31. `total_gold` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '总钻石数',
  32. `time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '操作时间',
  33. PRIMARY KEY(`id`)
  34. )ENGINE=InnoDB CHARSET=utf8 COMMENT="贵族期间充值记录";
  35. -- 器灵寻宝
  36. CREATE TABLE `log_marble`(
  37. `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  38. `role_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0 COMMENT '玩家id',
  39. `role_name` varchar(255) NOT NULL DEFAULT "" COMMENT '玩家名称',
  40. `qual_id` tinyint(5) UNSIGNED NOT NULL DEFAULT 0 COMMENT '品质ID',
  41. `award` varchar(255) NOT NULL DEFAULT '[]' COMMENT '奖励列表',
  42. `increase_point` tinyint(5) UNSIGNED NOT NULL DEFAULT 0 COMMENT '增加能量点',
  43. `current_point` tinyint(5) UNSIGNED NOT NULL DEFAULT 0 COMMENT '当前能量点',
  44. `time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '时间',
  45. PRIMARY KEY(`id`)
  46. )ENGINE=InnoDB CHARSET=utf8 COMMENT="器灵寻宝";
  47. -- liushl
  48. -- 首充日志
  49. alter table log_recharge_first add column
  50. isnew tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '是否创角当天充值##1是;0否';
  51. alter table log_recharge_first add column
  52. reg_time int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创角时间';
  53. alter table log_recharge_first add column
  54. charge_day int(11) unsigned NOT NULL DEFAULT '0' COMMENT '首充开服天数';
  55. alter table player_login add column
  56. `last_behavior` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '最后行为';
  57. -- 每日在线时长日志
  58. ALTER TABLE `log_all_online`
  59. ADD COLUMN `day` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '当天0点时间戳' AFTER `last_login_time`;