feat: dev-web - update pojo and database schema

This commit is contained in:
kmitresse
2024-03-21 14:16:50 +01:00
parent 7ea5af9751
commit bb9f1caee6
4 changed files with 183 additions and 3 deletions
+3
View File
@@ -19,6 +19,9 @@ CREATE TABLE IF NOT EXISTS game
id INT NOT NULL AUTO_INCREMENT,
difficulty VARCHAR(255) NOT NULL,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
nb_rounds INT NOT NULL,
nb_colors INT NOT NULL,
nb_values_per_color INT NOT NULL,
PRIMARY KEY (id)
);