comment.sql 634 B

1234567891011121314151617
  1. DROP TABLE IF EXISTS `phpcms_comment`;
  2. CREATE TABLE IF NOT EXISTS `phpcms_comment` (
  3. `commentid` char(30) NOT NULL,
  4. `siteid` smallint(5) NOT NULL DEFAULT '0',
  5. `title` char(255) NOT NULL,
  6. `url` char(255) NOT NULL,
  7. `total` int(8) unsigned DEFAULT '0',
  8. `square` mediumint(8) unsigned DEFAULT '0',
  9. `anti` mediumint(8) unsigned DEFAULT '0',
  10. `neutral` mediumint(8) unsigned DEFAULT '0',
  11. `display_type` tinyint(1) DEFAULT '0',
  12. `tableid` mediumint(8) unsigned DEFAULT '0',
  13. `lastupdate` int(10) unsigned DEFAULT '0',
  14. PRIMARY KEY (`commentid`),
  15. KEY `lastupdate` (`lastupdate`),
  16. KEY `siteid` (`siteid`)
  17. ) TYPE=MyISAM;