Create Organise Table
This commit is contained in:
parent
253a7bb877
commit
09005adb76
1 changed files with 10 additions and 1 deletions
|
@ -1,2 +1,11 @@
|
||||||
CREATE TABLE Personnel
|
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)
|
||||||
|
);
|
Loading…
Reference in a new issue