Merge branch 'master' of https://git.etud.insa-toulouse.fr/rbonnet/tp_bdd2
let's go
This commit is contained in:
commit
0300b8a2f8
1 changed files with 14 additions and 0 deletions
|
@ -8,6 +8,20 @@ CREATE TABLE Personnel
|
||||||
date_de_recrutement date,
|
date_de_recrutement date,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
CREATE TABLE Publie_Externe(
|
||||||
|
idPublication INT NOT NULL,
|
||||||
|
idAuteurExterne INT NOT NULL,
|
||||||
|
FOREIGN KEY (idPublication) REFERENCES Publication(idPublication),
|
||||||
|
FOREIGN KEY (idAuteurExterne) REFERENCES Auteur_Externe(idAuteur)
|
||||||
|
|
||||||
|
);
|
||||||
|
|
||||||
|
CREATE TABLE Participe_Externe(
|
||||||
|
idProjet INT NOT NULL,
|
||||||
|
idPartenaire INT NOT NULL,
|
||||||
|
FOREIGN KEY (idProjet) REFERENCES Projet(idProjet),
|
||||||
|
FOREIGN KEY (idPartenaire) REFERENCES Partenaire(idPartenaire)
|
||||||
|
);
|
||||||
|
|
||||||
CREATE TABLE Organise (
|
CREATE TABLE Organise (
|
||||||
idPortesOuverte INT NOT NULL,
|
idPortesOuverte INT NOT NULL,
|
||||||
|
|
Loading…
Reference in a new issue