CREATE TABLE `documentmessages` (
  `IDLNK` int(11) NOT NULL AUTO_INCREMENT,
  `Document_IDLNK` int(11) NOT NULL,
  `Parent_IDLNK` int(11) NOT NULL,
  `User_IDLNK` int(11) NOT NULL,
  `Message` text NOT NULL,
  `DateTime` varchar(50) NOT NULL,
  `Deleted` int(11) NOT NULL,
  PRIMARY KEY (`IDLNK`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1