CREATE TABLE `PREFIX_ip_hits` (
  `id` varchar(1) NOT NULL,
  `ip` varchar(32) NOT NULL default '0',
  `time` int(11) NOT NULL default '0',
  `pageurl` varchar(255) NOT NULL default '0',
  `pagetitle` varchar(255) NOT NULL default '0',
  `pagefrom` varchar(255) NOT NULL,
  `pagefromsite` varchar(100) NOT NULL,
  `keyword` varchar(50) NOT NULL default '0',
  `todayfirst` int(1) NOT NULL default '0',
  `website` varchar(12) NOT NULL default '0',
  KEY `ip` (`ip`),
  KEY `time` (`time`,`website`)
)  ENGINE=MyISAM;