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 Doctorant CASCADE;
DROP TABLE Scientifique CASCADE;
DROP TABLE Etablissement CASCADE;
DROP TABLE Enseignant_Chercheur CASCADE;
DROP TABLE Evenement CASCADE;
DROP TABLE Congres CASCADE;

View file

@ -88,6 +88,12 @@ CREATE TABLE Labo_externe(
);
-- Nathan
CREATE TABLE Evenement(
PRIMARY KEY(idEvenement),
date_debut DATE,
date_fin DATE,
);
CREATE TABLE Journee_Porte_Ouvertes(
idPorteOuverte INT NOT NULL,
FOREIGN KEY (idPorteOuverte) REFERENCES Evenement(idEvenement),
@ -105,7 +111,7 @@ CREATE TABLE Auteur_Externe (
PRIMARY KEY (idAuteur)
);
-- Nathan
-- NathanCREATE TABLE Enseignant_Chercheuration INT NOT NULL,
CREATE TABLE Publication(
idPublication INT NOT NULL,
titre VARCHAR,
@ -126,9 +132,9 @@ CREATE TABLE Participe(
);
-- Ronan
CREATE TABLE Preside(
idCongres INT NOT NULL,
idScientifique INT NOT NULL,
CREATE TABLE PreCREATE TABLE Enseignant_Chercheurside(
e_fin DATE,
);es( idScientifique INT NOT NULL,
FOREIGN KEY (idCongres) REFERENCES Congres(idCongres),
FOREIGN KEY (idScientifique) REFERENCES Scientifique(idScientifique),
PRIMARY KEY (idCongres, idScientifique)
@ -143,7 +149,7 @@ CREATE TABLE Publie_Scientifique(
PRIMARY KEY (idPublication, idScientifique)
);
-- Ronan
-- RonanCREATE TABLE Enseignant_Chercheur
CREATE TABLE Publie_Doctorant(
idPublication INT NOT NULL,
idDoctorant INT NOT NULL,
@ -198,13 +204,6 @@ CREATE TABLE Encadrement (
PRIMARY KEY(idScientifique,idDoctorant),
);
--Yasmine
CREATE TABLE Etablissement (
nom char,
acronyme char,
adresse char,
PRIMARY KEY(idEtablissement),
);
--Yasmine
CREATE TABLE Partenaire(
@ -215,3 +214,4 @@ CREATE TABLE Partenaire(