From eac0ee8b98301d5facff6296fe5e85d29751f9e5 Mon Sep 17 00:00:00 2001 From: Bonnet Ronan Date: Wed, 30 Nov 2022 16:30:07 +0100 Subject: [PATCH] Create Publie_Doctorant table --- personnel.sql | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/personnel.sql b/personnel.sql index 8802891..9bda5e4 100644 --- a/personnel.sql +++ b/personnel.sql @@ -1,6 +1,13 @@ CREATE TABLE Personnel (); +CREATE Publie_Doctorant( + idPublication INT NOT NULL, + idDoctorant INT NOT NULL, + FOREIGN KEY (idPublication) REFERENCES Publication(idPublication), + FOREIGN KEY (idDoctorant) REFERENCES Doctorant(idDoctorant) +); + CREATE TABLE Publie_Externe( idPublication INT NOT NULL, idAuteurExterne INT NOT NULL,