CREATE TABLE `stat_imate` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `referer` varchar(200) NOT NULL,
  `user_agent` varchar(200) NOT NULL,
  `remote_addr` varchar(200) NOT NULL,
  `query` varchar(200) NOT NULL,
  `request` varchar(200) NOT NULL,
  `protocol` varchar(200) NOT NULL,
  `host` varchar(200) NOT NULL,
  `object_id` varchar(200) NOT NULL,
  `date` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1