Commit 120300eb authored by Antoine Kryus's avatar Antoine Kryus
Browse files

feat API TABLE.sql ajout nom cat et desc role

parent d4cbf755
......@@ -78,7 +78,8 @@ CREATE TABLE MembreExterieur (
CREATE TABLE CategorieBillet (
idCategorie SERIAL PRIMARY KEY,
tarif INTEGER NOT NULL,
nombreDeBillet INTEGER NOT NULL
nombreDeBillet INTEGER NOT NULL,
nom VARCHAR(255) NOT NULL
);
CREATE TABLE Billet (
......@@ -108,6 +109,7 @@ CREATE TABLE Inscription (
CREATE TABLE Role (
idSpectacle INTEGER NOT NULL,
numeroCIN INTEGER NOT NULL,
role VARCHAR(255) NOT NULL,
FOREIGN KEY (idSpectacle) REFERENCES Spectacle(idSpectacle),
FOREIGN KEY (numeroCIN) REFERENCES MembreDeLUniversite(numeroCIN)
);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment