CREATE TABLE `events` (
  `IDLNK` int(11) NOT NULL AUTO_INCREMENT,
  `Title` varchar(255) NOT NULL,
  `Details` text NOT NULL,
  `Location` varchar(255) NOT NULL,
  `DateAdded` varchar(12) NOT NULL,
  `Type_IDLNK` int(11) NOT NULL,
  `Deleted` varchar(1) NOT NULL,
  `StartDateSQL` datetime NOT NULL,
  `EndDateSQL` datetime NOT NULL,
  `Public` tinyint(1) NOT NULL,
  PRIMARY KEY (`IDLNK`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1