CREATE TABLE IF NOT EXISTS `wp_6535_bookingdates` (
  `booking_id` bigint(20) unsigned NOT NULL,
  `booking_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `approved` bigint(20) unsigned NOT NULL DEFAULT '0',
  UNIQUE KEY `booking_id_dates` (`booking_id`,`booking_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
TRUNCATE TABLE `wp_6535_bookingdates`;
 
INSERT INTO `wp_6535_bookingdates` VALUES ('1', '2014-01-24 00:00:00', '0'); 
INSERT INTO `wp_6535_bookingdates` VALUES ('1', '2014-01-25 00:00:00', '0'); 
INSERT INTO `wp_6535_bookingdates` VALUES ('1', '2014-01-26 00:00:00', '0');
# --------------------------------------------------------

