CREATE TABLE `documenttags` (
  `IDLNK` int(11) NOT NULL AUTO_INCREMENT,
  `DocumentIDLNK` int(11) NOT NULL,
  `TagIDLNK` int(11) NOT NULL,
  `Deleted` int(11) NOT NULL,
  PRIMARY KEY (`IDLNK`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1