test de déploiment
continuous-integration/drone/push Build is passing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent f467a9ce5a
commit b1847a7b5b

@ -18,7 +18,7 @@ estAdmin boolean
);
CREATE TABLE Enigme(
id int PRIMARY KEY AUTO_INCREMENT,
id integer PRIMARY KEY AUTOINCREMENT,
enonce varchar(250) NOT NULL,
aide varchar(250),
rappel varchar(250),
@ -29,7 +29,7 @@ points numeric CHECK (points >0)
);
CREATE TABLE Partie(
id int PRIMARY KEY AUTO_INCREMENT,
id integer PRIMARY KEY AUTOINCREMENT,
dateDebut date NOT NULL
);
@ -54,6 +54,6 @@ PRIMARY KEY(partie, enigme)
CREATE TABLE Participer(
partie int REFERENCES Partie(id),
joueur varchar(50) REFERENCES Joueur(email),
enCours boolean,
etat int CHECK (etat IN (0,1,2)),
PRIMARY KEY(partie, joueur)
);

Binary file not shown.
Loading…
Cancel
Save