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_ 就可以了
|