CREATE TABLE IF NOT EXISTS `forums` ( `sort` tinyint(3) unsigned NOT NULL default '0', `id` int(10) unsigned NOT NULL, `name` varchar(60) NOT NULL default '', `description` varchar(200) default NULL, `minclassread` tinyint(3) unsigned NOT NULL default '0', `minclasswrite` tinyint(3) unsigned NOT NULL default '0', `postcount` int(10) unsigned NOT NULL default '0', `topiccount` int(10) unsigned NOT NULL default '0', `minclasscreate` tinyint(3) unsigned NOT NULL default '0', `lastpost_txt` text NOT NULL, `forid` tinyint(2) unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `name` (`name`), KEY `sort` (`name`,`sort`), KEY `name_2` (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;