Compare commits
No commits in common. "cb5a0876c0e261500e977da61b4726311918b9d3" and "e5658698c6ddf087a09696e90c73a9f85e0b68ea" have entirely different histories.
cb5a0876c0
...
e5658698c6
1 changed files with 22 additions and 13 deletions
|
@ -61,7 +61,7 @@ CREATE TABLE Etablissement(
|
||||||
adresse VARCHAR,
|
adresse VARCHAR,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
CREATE TABLE Enseignant_Chercheur
|
||||||
-- Nathan
|
-- Nathan
|
||||||
CREATE TABLE Evenement(
|
CREATE TABLE Evenement(
|
||||||
idEvenement INT NOT NULL,
|
idEvenement INT NOT NULL,
|
||||||
|
@ -88,12 +88,6 @@ CREATE TABLE Labo_externe(
|
||||||
);
|
);
|
||||||
|
|
||||||
-- Nathan
|
-- Nathan
|
||||||
CREATE TABLE Evenement(
|
|
||||||
PRIMARY KEY(idEvenement),
|
|
||||||
date_debut DATE,
|
|
||||||
date_fin DATE,
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE Journee_Porte_Ouvertes(
|
CREATE TABLE Journee_Porte_Ouvertes(
|
||||||
idPorteOuverte INT NOT NULL,
|
idPorteOuverte INT NOT NULL,
|
||||||
FOREIGN KEY (idPorteOuverte) REFERENCES Evenement(idEvenement),
|
FOREIGN KEY (idPorteOuverte) REFERENCES Evenement(idEvenement),
|
||||||
|
@ -111,8 +105,8 @@ CREATE TABLE Auteur_Externe (
|
||||||
PRIMARY KEY (idAuteur)
|
PRIMARY KEY (idAuteur)
|
||||||
);
|
);
|
||||||
|
|
||||||
-- NathanCREATE TABLE Enseignant_Chercheuration INT NOT NULL,
|
-- Nathan
|
||||||
CREATE TABLE Publication(
|
CREATE TABLE Publication (
|
||||||
idPublication INT NOT NULL,
|
idPublication INT NOT NULL,
|
||||||
titre VARCHAR,
|
titre VARCHAR,
|
||||||
annee DATE,
|
annee DATE,
|
||||||
|
@ -132,9 +126,9 @@ CREATE TABLE Participe(
|
||||||
);
|
);
|
||||||
|
|
||||||
-- Ronan
|
-- Ronan
|
||||||
CREATE TABLE PreCREATE TABLE Enseignant_Chercheurside(
|
CREATE TABLE Preside(
|
||||||
e_fin DATE,
|
idCongres INT NOT NULL,
|
||||||
);es( idScientifique INT NOT NULL,
|
idScientifique INT NOT NULL,
|
||||||
FOREIGN KEY (idCongres) REFERENCES Congres(idCongres),
|
FOREIGN KEY (idCongres) REFERENCES Congres(idCongres),
|
||||||
FOREIGN KEY (idScientifique) REFERENCES Scientifique(idScientifique),
|
FOREIGN KEY (idScientifique) REFERENCES Scientifique(idScientifique),
|
||||||
PRIMARY KEY (idCongres, idScientifique)
|
PRIMARY KEY (idCongres, idScientifique)
|
||||||
|
@ -149,7 +143,7 @@ CREATE TABLE Publie_Scientifique(
|
||||||
PRIMARY KEY (idPublication, idScientifique)
|
PRIMARY KEY (idPublication, idScientifique)
|
||||||
);
|
);
|
||||||
|
|
||||||
-- RonanCREATE TABLE Enseignant_Chercheur
|
-- Ronan
|
||||||
CREATE TABLE Publie_Doctorant(
|
CREATE TABLE Publie_Doctorant(
|
||||||
idPublication INT NOT NULL,
|
idPublication INT NOT NULL,
|
||||||
idDoctorant INT NOT NULL,
|
idDoctorant INT NOT NULL,
|
||||||
|
@ -204,5 +198,20 @@ CREATE TABLE Encadrement (
|
||||||
PRIMARY KEY(idScientifique,idDoctorant),
|
PRIMARY KEY(idScientifique,idDoctorant),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
--Yasmine
|
||||||
|
CREATE TABLE Etablissement (
|
||||||
|
nom char,
|
||||||
|
acronyme char,
|
||||||
|
adresse char,
|
||||||
|
PRIMARY KEY(idEtablissement),
|
||||||
|
);
|
||||||
|
--Yasmine
|
||||||
|
|
||||||
|
CREATE TABLE Partenaire(
|
||||||
|
PRIMARY KEY(idPartenaire),
|
||||||
|
nom char,
|
||||||
|
pays char,
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue