esperons que ca marche
This commit is contained in:
commit
b1dd165373
1 changed files with 41 additions and 9 deletions
|
@ -27,7 +27,47 @@ CREATE TABLE Scientifique(
|
|||
PRIMARY KEY(idPersonnel)
|
||||
);
|
||||
|
||||
CREATE TABLE Enseignant_Chercheur
|
||||
|
||||
-- Nathan
|
||||
CREATE Auteur_Externe (
|
||||
idAuteur INT NOT NULL,
|
||||
nom VARCHAR,
|
||||
pays VARCHAR,
|
||||
PRIMARY KEY(idPartenaire)
|
||||
);
|
||||
|
||||
-- Nathan
|
||||
CREATE Evenement(
|
||||
idEvenement INT NOT NULL,
|
||||
dateDebut DATE,
|
||||
dateFin DATE,
|
||||
PRIMARY KEY (idEvenement)
|
||||
);
|
||||
|
||||
-- Ronan
|
||||
CREATE Congres(
|
||||
idCongres INT NOT NULL,
|
||||
nb_inscriptions INT NOT NULL,
|
||||
class VARCHAR,
|
||||
FOREIGN KEY (idCongres) REFERENCES Evenement(idEvenement),
|
||||
PRIMARY KEY (idCongres)
|
||||
);
|
||||
|
||||
-- Ronan
|
||||
CREATE Labo_externe(
|
||||
idLabo INT NOT NULL,
|
||||
nom VARCHAR,
|
||||
pays VARCHAR,
|
||||
PRIMARY KEY(idLabo)
|
||||
);
|
||||
|
||||
-- Nathan
|
||||
CREATE Journee_Porte_Ouvertes(
|
||||
idPorteOuverte INT NOT NULL,
|
||||
FOREIGN KEY (idPorteOuverte) REFERENCES Evenement(idEvenement),
|
||||
PRIMARY KEY (idPorteOuverte)
|
||||
);
|
||||
|
||||
-- Nathan
|
||||
CREATE Auteur_Externe (
|
||||
idAuteur INT NOT NULL,
|
||||
|
@ -37,14 +77,6 @@ CREATE Auteur_Externe (
|
|||
idLabo INT NOT NULL,
|
||||
FOREIGN KEY (idLabo) REFERENCES LaboExterne(idLabo),
|
||||
PRIMARY KEY (idAuteur)
|
||||
|
||||
);
|
||||
|
||||
CREATE Labo_externe(
|
||||
idLabo INT NOT NULL,
|
||||
nom VARCHAR,
|
||||
pays VARCHAR,
|
||||
PRIMARY KEY(idLabo)
|
||||
);
|
||||
|
||||
-- Nathan
|
||||
|
|
Loading…
Reference in a new issue