源战役
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

24 行
1.2 KiB

  1. -- 送礼&票券修改
  2. CREATE TABLE `role_flower_sp_gift`(
  3. `role_id` bigint(20) UNSIGNED NOT NULL COMMENT '玩家id',
  4. `start_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '开始时间',
  5. `sender` bigint(20) UNSIGNED NOT NULL COMMENT '赠送者',
  6. `day` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '持续天数',
  7. `goods_id` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '物品id',
  8. `receive_time` varchar(500) NOT NULL DEFAULT '[]' COMMENT '领取时间列表',
  9. PRIMARY KEY(`role_id`, `start_time`, `sender`)
  10. ) ENGINE=InnoDB CHARSET=utf8 COMMENT="玩家特殊礼品数据";
  11. DROP TABLE `role_daily_coupon`;
  12. CREATE TABLE `role_coupon_list`(
  13. `role_id` bigint(20) UNSIGNED NOT NULL COMMENT '玩家id',
  14. `op_role` bigint(20) UNSIGNED NOT NULL COMMENT '领取的玩家|赠送的玩家',
  15. `coupon_type` tinyint(2) UNSIGNED NOT NULL DEFAULT 0 COMMENT '1社交券|2羁绊券',
  16. `type` tinyint(2) UNSIGNED NOT NULL DEFAULT 0 COMMENT '1赠送|2领取',
  17. `status` tinyint(2) UNSIGNED NOT NULL DEFAULT 0 COMMENT '领取状态',
  18. `time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '更新时间',
  19. PRIMARY KEY(`role_id`, `op_role`, `coupon_type`, `type`)
  20. ) ENGINE=InnoDB CHARSET=utf8 COMMENT="社交票券数据";