DROP TABLE IF EXISTS `pagetracker`;
CREATE TABLE `pagetracker` (
   `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
   `username` varchar(255) NOT NULL,
   `comic` varchar(255) NOT NULL,
   `issue` varchar(255) NOT NULL,
   `currentpage` int(11) unsigned NOT NULL DEFAULT 0,
   `lastupdate` datetime NOT NULL,
   PRIMARY KEY (`id`),
   UNIQUE KEY `user_comic` (`username`,`issue`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
