poster.sql 803 B

123456789101112131415161718
  1. DROP TABLE IF EXISTS `phpcms_poster`;
  2. CREATE TABLE IF NOT EXISTS `phpcms_poster` (
  3. `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  4. `siteid` smallint(5) unsigned NOT NULL DEFAULT '0',
  5. `name` varchar(40) NOT NULL,
  6. `spaceid` smallint(5) unsigned NOT NULL DEFAULT '0',
  7. `type` varchar(10) NOT NULL,
  8. `setting` text NOT NULL,
  9. `startdate` int(10) unsigned NOT NULL DEFAULT '0',
  10. `enddate` int(10) unsigned NOT NULL DEFAULT '0',
  11. `addtime` int(10) unsigned NOT NULL DEFAULT '0',
  12. `hits` mediumint(8) unsigned NOT NULL DEFAULT '0',
  13. `clicks` smallint(5) unsigned NOT NULL DEFAULT '0',
  14. `listorder` tinyint(3) unsigned NOT NULL DEFAULT '0',
  15. `disabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  16. PRIMARY KEY (`id`),
  17. KEY `spaceid` (`spaceid`,`siteid`,`disabled`,`listorder`)
  18. ) TYPE=MyISAM;