1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
CREATE TABLE `offre` (
`Num` bigint(20) NOT NULL AUTO_INCREMENT,
`titre` varchar(20) NOT NULL,
`Poste` varchar(10) NOT NULL,
`domaine` varchar(20) NOT NULL,
`date_pub` date NOT NULL,
`date_exp` date NOT NULL,
`description` text NOT NULL,
`objetif` text NOT NULL,
`compétence` text NOT NULL,
`ville` varchar(20) NOT NULL,
`pays` varchar(20) NOT NULL,
`validé` int(11) NOT NULL,
`idR` bigint(20) NOT NULL,
PRIMARY KEY (`Num`),
UNIQUE KEY `idR_2` (`idR`),
UNIQUE KEY `idR_3` (`idR`),
UNIQUE KEY `idR_5` (`idR`),
KEY `idR_4` (`idR`),
CONSTRAINT `offre_ibfk_2` FOREIGN KEY (`idR`) REFERENCES `recruteur` (`idR`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 |
Partager