Files
2025-06-27 21:04:18 +08:00

20 lines
503 B
PHP
Executable File

<?php
if(!defined('IN_DISCUZ') || !defined('IN_ADMINCP')) {
exit('Access Denied');
}
global $_G;
$tablePre = $_G['config']['db'][1]['tablepre'];
$sql = <<<EOF
create table if not exists `pre_across_pbforums`(
uid int(11) unsigned primary key AUTO_INCREMENT,
fids varchar(600) not null default ''
) ENGINE = MYISAM comment '用户屏蔽版块';
ALTER TABLE `pre_forum_thread` ADD COLUMN `across_fids` varchar(500) NOT NULL DEFAULT '' COMMENT '跨越版块';
EOF;
runquery($sql);
$finish = TRUE;
?>