DROP TABLE IF EXISTS `user_roomvisits`;
CREATE TABLE `user_roomvisits` (
`user_id` int(10) unsigned NOT NULL,
`room_id` int(10) unsigned NOT NULL,
`entry_timestamp` double NOT NULL,
`exit_timestamp` double NOT NULL,
`hour` int(11) NOT NULL,
`minute` int(11) NOT NULL,
KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;