Discuz!X3.5新增 允许用户收听他人用户组选项需要升级的数据库语句
Discuz!X3.5新增 允许用户收听他人用户组选项需要升级的数据库语:ALTER TABLE `pre_common_usergroup` ADD `allowfollow` tinyint(1) NOT NULL DEFAULT '0' AFTER `allowmailinvite`;
UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 1;
UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 2;
UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 3;
UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 4;
UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 5;
UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 6;
UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 7;
UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 8;
UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 9;
UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 10;
UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 11;
UPDATE `pre_common_usergroup` SET `allowfollow` = '0' WHERE `pre_common_usergroup`.`groupid` = 12;
UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 13;
UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 14;
UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 15;
UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 16;
UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 17;
UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 18;
UPDATE `pre_common_usergroup` SET `allowfollow` = '1' WHERE `pre_common_usergroup`.`groupid` = 19;
页:
[1]