DROP TABLE IF EXISTS `production`.`calendartable`;
CREATE TABLE  `production`.`calendartable` (
  `id` int(11) NOT NULL auto_increment,
  `cBoatId` int(11) NOT NULL,
  `memberWYCNumber` int(11) NOT NULL,
  `reserveFrom` datetime NOT NULL,
  `reserveTo` datetime NOT NULL,
  `destination` varchar(255) NOT NULL,
  `numberOfCrew` int(11) NOT NULL,
  `comments` varchar(255) default NULL,
  `phone` varchar(45) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=53 DEFAULT CHARSET=latin1;



DROP TABLE IF EXISTS `production`.`calendarboats`;
CREATE TABLE  `production`.`calendarboats` (
  `cBoatId` int(11) NOT NULL auto_increment,
  `name` varchar(50) NOT NULL,
  PRIMARY KEY  (`cBoatId`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;



DROP TABLE IF EXISTS `production`.`calendarconfig`;
CREATE TABLE  `production`.`calendarconfig` (
  `wacip` varchar(15) NOT NULL,
  PRIMARY KEY  (`wacip`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



DROP TABLE IF EXISTS `production`.`calendarcomment`;
CREATE TABLE  `production`.`calendarcomment` (
  `id` int(11) NOT NULL auto_increment,
  `resid` int(11) NOT NULL,
  `userwyc` int(11) NOT NULL,
  `date` datetime NOT NULL,
  `comment` text NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
