228011as
|
分享:
▲
▼
DROP TABLE IF EXISTS cdb_admingroups; <===刪除cdb_admingroups資料表 CREATE TABLE cdb_admingroups ( <===新增cdb_admingroups資料表 admingid smallint(6) unsigned NOT NULL default Ɔ', alloweditpost tinyint(1) NOT NULL default Ɔ', alloweditpoll tinyint(1) NOT NULL default Ɔ', allowstickthread tinyint(1) NOT NULL default Ɔ', allowmodpost tinyint(1) NOT NULL default Ɔ', allowdelpost tinyint(1) NOT NULL default Ɔ', allowmassprune tinyint(1) NOT NULL default Ɔ', allowrefund tinyint(1) NOT NULL default Ɔ', allowcensorword tinyint(1) NOT NULL default Ɔ', allowviewip tinyint(1) NOT NULL default Ɔ', allowbanip tinyint(1) NOT NULL default Ɔ', allowedituser tinyint(1) NOT NULL default Ɔ', allowmoduser tinyint(1) NOT NULL default Ɔ', allowbanuser tinyint(1) NOT NULL default Ɔ', allowpostannounce tinyint(1) NOT NULL default Ɔ', allowviewlog tinyint(1) NOT NULL default Ɔ', disablepostctrl tinyint(1) NOT NULL default Ɔ', PRIMARY KEY (admingid) ) TYPE=MyISAM;
INSERT INTO cdb_admingroups VALUES (1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), (2, 1, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), (3, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1);
至於修改表首則是將 cdb_ 改成 tx_ 就可以了
|