From 7858efcb7e4951ee5d4498d3f755bf54818c05f1 Mon Sep 17 00:00:00 2001 From: Bonnet Ronan Date: Wed, 30 Nov 2022 16:25:03 +0100 Subject: [PATCH 1/2] Create Participe_Externe table --- personnel.sql | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/personnel.sql b/personnel.sql index fb4039e..40dc77d 100644 --- a/personnel.sql +++ b/personnel.sql @@ -2,6 +2,13 @@ CREATE TABLE Personnel (); +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 ( idPortesOuverte INT NOT NULL, idPersonnel INT NOT NULL, From 29187f4fcc7910d2c2e0b798067187686eeafc36 Mon Sep 17 00:00:00 2001 From: Bonnet Ronan Date: Wed, 30 Nov 2022 16:28:38 +0100 Subject: [PATCH 2/2] Create Publie_Externe table --- personnel.sql | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/personnel.sql b/personnel.sql index 40dc77d..8802891 100644 --- a/personnel.sql +++ b/personnel.sql @@ -1,6 +1,13 @@ CREATE TABLE Personnel (); +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,