CREATE TABLE `pagesversion` (
  `IDLNK` int(11) NOT NULL AUTO_INCREMENT,
  `PageIDLNK` int(11) NOT NULL,
  `Title` varchar(255) NOT NULL,
  `Content` text,
  `VersionNumberMajor` int(11) NOT NULL,
  `VersionNumberMinor` int(11) NOT NULL,
  `Comment` varchar(255) DEFAULT NULL,
  `Updated` datetime NOT NULL,
  `UpdatedByIDLNK` int(11) NOT NULL,
  `Draft` tinyint(1) DEFAULT NULL,
  `Deleted` int(11) NOT NULL,
  PRIMARY KEY (`IDLNK`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1