change key error
This commit is contained in:
parent
fbe1128906
commit
365d15c97a
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ CREATE TABLE Scientifique(
|
|||
idScientique INT NOT NULL,
|
||||
idPersonnel INT NOT NULL,
|
||||
grade CHAR,
|
||||
FOREIGN KEY (idPersonnel) REFERENCES Personnel(idPersonnel),
|
||||
PRIMARY KEY(idPersonnel)
|
||||
FOREIGN KEY (idScientifique) REFERENCES Personnel(idPersonnel),
|
||||
PRIMARY KEY (idScientifique)
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue