From 782631b7c9ea41489ef4471ba39d913c549eec4c Mon Sep 17 00:00:00 2001 From: Olougouna Axel Date: Wed, 7 Dec 2022 08:52:20 +0100 Subject: [PATCH] correction de Doctorant --- personnel.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/personnel.sql b/personnel.sql index 5c4a214..00b193c 100644 --- a/personnel.sql +++ b/personnel.sql @@ -14,7 +14,7 @@ CREATE TABLE Doctorant( idDoctorant INT NOT NULL, date_debut_these DATE, date_soutenance DATE - FOREIGN KEY (id) REFERENCES Personnel(idPersonnel), + FOREIGN KEY (idDoctorant) REFERENCES Personnel(idPersonnel), PRIMARY KEY(idPersonnel) );