CREATE TABLE `visit_list` ( `id` int(11) NOT NULL AUTO_INCREMENT, `uid` int(11) NOT NULL, `pid` int(11) NOT NULL, `notes` TINYTEXT NOT NULL , `visit` BOOLEAN NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `id` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;