solve merge conflicts

This commit is contained in:
Bonnet Ronan 2022-12-07 09:31:26 +01:00
commit bc5abb8eb5
2 changed files with 14 additions and 13 deletions

View file

@ -3,6 +3,7 @@ DROP TYPE grade CASCADE;
DROP TABLE Personnel CASCADE; DROP TABLE Personnel CASCADE;
DROP TABLE Doctorant CASCADE; DROP TABLE Doctorant CASCADE;
DROP TABLE Scientifique CASCADE; DROP TABLE Scientifique CASCADE;
DROP TABLE Etablissement CASCADE;
DROP TABLE Enseignant_Chercheur CASCADE; DROP TABLE Enseignant_Chercheur CASCADE;
DROP TABLE Evenement CASCADE; DROP TABLE Evenement CASCADE;
DROP TABLE Congres CASCADE; DROP TABLE Congres CASCADE;

View file

@ -88,6 +88,12 @@ 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),
@ -105,8 +111,8 @@ CREATE TABLE Auteur_Externe (
PRIMARY KEY (idAuteur) PRIMARY KEY (idAuteur)
); );
-- Nathan -- NathanCREATE TABLE Enseignant_Chercheuration INT NOT NULL,
CREATE TABLE Publication ( CREATE TABLE Publication(
idPublication INT NOT NULL, idPublication INT NOT NULL,
titre VARCHAR, titre VARCHAR,
annee DATE, annee DATE,
@ -126,9 +132,9 @@ CREATE TABLE Participe(
); );
-- Ronan -- Ronan
CREATE TABLE Preside( CREATE TABLE PreCREATE TABLE Enseignant_Chercheurside(
idCongres INT NOT NULL, e_fin DATE,
idScientifique INT NOT NULL, );es( 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)
@ -143,7 +149,7 @@ CREATE TABLE Publie_Scientifique(
PRIMARY KEY (idPublication, idScientifique) PRIMARY KEY (idPublication, idScientifique)
); );
-- Ronan -- RonanCREATE TABLE Enseignant_Chercheur
CREATE TABLE Publie_Doctorant( CREATE TABLE Publie_Doctorant(
idPublication INT NOT NULL, idPublication INT NOT NULL,
idDoctorant INT NOT NULL, idDoctorant INT NOT NULL,
@ -198,13 +204,6 @@ 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 --Yasmine
CREATE TABLE Partenaire( CREATE TABLE Partenaire(
@ -215,3 +214,4 @@ CREATE TABLE Partenaire(