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

28 line
1.7 KiB

  1. -- liushl
  2. ALTER TABLE madness_land_guild_rank ADD COLUMN `guild_flag` int(11) NOT NULL DEFAULT '0' COMMENT '社团旗帜' AFTER `guild_name`;
  3. -- tyl
  4. -- 社团拼单感谢信&感谢记录
  5. CREATE TABLE `guild_order_log` (
  6. `order_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '拼单唯一Id',
  7. `guild_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '社团Id',
  8. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '角色Id',
  9. `ask_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '发起者Id',
  10. `cfg_id` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '拼单配置Id',
  11. `content` varchar(500) NOT NULL DEFAULT '[]' COMMENT '拼单内容',
  12. `chat_msg` varchar(1000) NOT NULL DEFAULT '' COMMENT '交流信息',
  13. `is_receive` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '是否领取',
  14. `time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '时间',
  15. PRIMARY KEY (`order_id`,`role_id`)
  16. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='社团拼单-拼单记录';
  17. CREATE TABLE `guild_order_thank` (
  18. `order_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '拼单唯一Id',
  19. `guild_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '社团Id',
  20. `ask_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '发起者Id',
  21. `cfg_id` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '拼单配置Id',
  22. `role_list` varchar(1000) NOT NULL DEFAULT '[]' COMMENT '角色列表',
  23. `content` varchar(500) NOT NULL DEFAULT '[]' COMMENT '拼单内容',
  24. `is_send` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '是否已经发送',
  25. `time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '时间',
  26. PRIMARY KEY (`order_id`)
  27. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='社团拼单-感谢信';