From 7858efcb7e4951ee5d4498d3f755bf54818c05f1 Mon Sep 17 00:00:00 2001 From: Bonnet Ronan Date: Wed, 30 Nov 2022 16:25:03 +0100 Subject: [PATCH] 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,