CREATE TABLE IF NOT EXISTS `opl_ebReadingStats` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `rid` int(10) unsigned NOT NULL,
  `bid` int(10) unsigned DEFAULT NULL,
  `uid` int(10) unsigned DEFAULT NULL,
  `onDate` date DEFAULT NULL,
  `onTime` time DEFAULT NULL,
  `type` set('read','preview') DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
