CREATE TABLE `contactform` (
  `IDLNK` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(100) NOT NULL,
  `Email` varchar(100) NOT NULL,
  `ContactType` int(100) NOT NULL,
  `Title` varchar(255) NOT NULL,
  `Body` text NOT NULL,
  `Recieved` datetime NOT NULL,
  `Completed` datetime DEFAULT NULL,
  `CompletedByIDLNK` int(11) DEFAULT NULL,
  `AdditionalField1` varchar(255) DEFAULT NULL,
  `AdditionalField2` varchar(255) DEFAULT NULL,
  `AttachmentTitle` varchar(100) DEFAULT NULL,
  `AttachmentURL` varchar(255) DEFAULT NULL,
  `Deleted` bit(1) NOT NULL,
  PRIMARY KEY (`IDLNK`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1