Create Organise Table

This commit is contained in:
Bonnet Ronan 2022-11-30 16:22:37 +01:00
parent 253a7bb877
commit 09005adb76

View file

@ -1,2 +1,11 @@
CREATE TABLE Personnel
();
();
CREATE TABLE Organise (
idPortesOuverte INT NOT NULL,
idPersonnel INT NOT NULL,
FOREIGN KEY (idPortesOuverte) REFERENCES Journee_Portes_Ouvertes(idPorte_Ouverte),
FOREIGN KEY (idPersonnel) REFERENCES Personnel(idPersonnel),
PRIMARY KEY(idPortesOuverte, idPersonnel)
);