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

44 line
2.0 KiB

  1. -- liushl
  2. -- 羁绊系统
  3. CREATE TABLE `mate_role` (
  4. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '玩家id',
  5. `boat_stage` tinyint(2) NOT NULL DEFAULT '0' COMMENT '友谊的小船阶数',
  6. `boat_star` tinyint(2) NOT NULL DEFAULT '0' COMMENT '友谊的小船星级',
  7. `boat_exp` int(11) NOT NULL DEFAULT '0' COMMENT '友谊的小船经验值',
  8. `wear_mate` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '佩戴的羁绊称号对象',
  9. PRIMARY KEY (`role_id`)
  10. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='羁绊-玩家羁绊系统信息(合服保留)';
  11. CREATE TABLE `mate_info` (
  12. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '玩家id',
  13. `other` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '羁绊玩家',
  14. `remarks` tinyint(2) NOT NULL DEFAULT '1' COMMENT '备注',
  15. `title` varchar(50) NOT NULL DEFAULT '<<>>' COMMENT '羁绊称号(自定义)',
  16. `time` int(11) NOT NULL DEFAULT '0' COMMENT '结交时间戳',
  17. `anniversary` varchar(5000) NOT NULL DEFAULT '[]' COMMENT '纪念日奖励领取情况',
  18. PRIMARY KEY (`role_id`, `other`)
  19. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='羁绊-玩家羁绊伙伴(合服保留)';
  20. ALTER TABLE `player_guild`
  21. DROP COLUMN `leave_donate`,
  22. DROP COLUMN `receive_salary_time`,
  23. DROP COLUMN `depot_score`,
  24. DROP COLUMN `live_reward_ids`;
  25. drop table if exists guild_depot_goods;
  26. drop table if exists guild_donate;
  27. drop table if exists log_guild_building_up;
  28. drop table if exists log_guild_depot;
  29. drop table if exists log_guild_liveness;
  30. drop table if exists log_guild_liveness_extra_reward;
  31. -- 社团合并
  32. -- zmh
  33. CREATE TABLE `guild_merge` (
  34. `guild_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '社团id',
  35. `identity` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '身份',
  36. `target` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '对方公会',
  37. `create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '开单时间',
  38. PRIMARY KEY (`guild_id`)
  39. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='社团合并';