DROP TABLE IF EXISTS `phpcms_comment`; CREATE TABLE IF NOT EXISTS `phpcms_comment` ( `commentid` char(30) NOT NULL, `siteid` smallint(5) NOT NULL DEFAULT '0', `title` char(255) NOT NULL, `url` char(255) NOT NULL, `total` int(8) unsigned DEFAULT '0', `square` mediumint(8) unsigned DEFAULT '0', `anti` mediumint(8) unsigned DEFAULT '0', `neutral` mediumint(8) unsigned DEFAULT '0', `display_type` tinyint(1) DEFAULT '0', `tableid` mediumint(8) unsigned DEFAULT '0', `lastupdate` int(10) unsigned DEFAULT '0', PRIMARY KEY (`commentid`), KEY `lastupdate` (`lastupdate`), KEY `siteid` (`siteid`) ) TYPE=MyISAM;