CREATE TABLE `table_1` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`version` varchar(200) NOT NULL,
`filename` varchar(200) NOT NULL,
`size` int(11) DEFAULT NULL,
`MD5_checksum` varchar(200) DEFAULT NULL,
`release_notes` varchar(200) NOT NULL,
`remark` varchar(2000) DEFAULT NULL,
`rec_level` int(11) NOT NULL,
`date_rec_green` date DEFAULT NULL,
`date_rec_yellow` date DEFAULT NULL,
`date_rec_red` date DEFAULT NULL,
`date_compl_green` date DEFAULT NULL,
`date_comp_yellow` date DEFAULT NULL,
`date_compl_red` date DEFAULT NULL,
`os_type` int(11) DEFAULT NULL,
`feature_set` int(11) DEFAULT NULL,
PRIMARY KEY (`ID`),
UNIQUE KEY `ID_UNIQUE` (`ID`),
KEY `fk_firmware_rec_level` (`rec_level`),
KEY `fk_firmware_os_type` (`os_type`),
KEY `fk_firmware_feature_set` (`feature_set`),
CONSTRAINT `fk_firmware_feature_set` FOREIGN KEY (`feature_set`) REFERENCES
`nl_firmware_feature_set` (`ID`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `fk_firmware_os_type` FOREIGN KEY (`os_type`) REFERENCES
`nl_firmware_os_type` (`ID`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `fk_firmware_rec_level` FOREIGN KEY (`rec_level`) REFERENCES
`nl_firmware_rec_level` (`ID`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8$$