源战役
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

52 rader
2.0 KiB

1 månad sedan
  1. -- tyl
  2. -- 添加玩家身上货币类型-名望券
  3. alter table player_high
  4. add column honour int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '名望券' after `gfame`;
  5. -- hh
  6. drop table log_vip_task;
  7. drop table vip_task_progress;
  8. drop table log_honor_coin;
  9. drop table vip_role_record;
  10. drop table player_vip;
  11. drop table vip_giftbag_state;
  12. drop table diamond_vip_shop_buy_record;
  13. DROP TABLE IF EXISTS `player_liveness`;
  14. CREATE TABLE `player_liveness` (
  15. `rid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '玩家id',
  16. `lv` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '等级',
  17. `exp` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '经验',
  18. PRIMARY KEY (`rid`)
  19. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='玩家活跃度';
  20. -- zhaoyu
  21. CREATE TABLE IF NOT EXISTS `arena_season_info` (
  22. `id` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '赛季Id',
  23. `time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '赛季结算时间戳',
  24. PRIMARY KEY (`id`)
  25. ) ENGINE = InnoDB CHARACTER SET = utf8 COMMENT = '竞技场赛季相关数据';
  26. CREATE TABLE IF NOT EXISTS `log_arena_season_award` (
  27. `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '自增Id',
  28. `role_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0' COMMENT '玩家Id',
  29. `rank` int(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT '排名',
  30. `time` int(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT '时间戳',
  31. `award` varchar(255) NOT NULL DEFAULT '[]' COMMENT '奖励',
  32. PRIMARY KEY (`id`)
  33. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='竞技场赛季结算日志';
  34. CREATE TABLE IF NOT EXISTS `log_arena_season_rank` (
  35. `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '自增Id',
  36. `season_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0' COMMENT '玩家Id',
  37. `role_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0' COMMENT '玩家Id',
  38. `rank` int(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT '排名',
  39. `time` int(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT '时间戳',
  40. PRIMARY KEY (`id`)
  41. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='竞技场赛季结算时的排名';