去评论
dz插件网

Discuz!X3.5新增 允许用户收听他人用户组选项需要升级的数据库语句

admin
2021/06/30 10:10:05
Discuz!X3.5新增 允许用户收听他人用户组选项需要升级的数据库语:
  1. ALTER TABLE `pre_common_usergroup` ADD `allowfollow` tinyint(1) NOT NULL DEFAULT '0' AFTER `allowmailinvite`;

  2. UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 1;
  3. UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 2;
  4. UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 3;
  5. UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 4;
  6. UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 5;
  7. UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 6;
  8. UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 7;
  9. UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 8;
  10. UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 9;
  11. UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 10;
  12. UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 11;
  13. UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 12;
  14. UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 13;
  15. UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 14;
  16. UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 15;
  17. UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 16;
  18. UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 17;
  19. UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 18;
  20. UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 19;