Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit ff4016fd authored by Mathieu Loiseau's avatar Mathieu Loiseau
Browse files

db update

parent aea0dd2d
...@@ -4,7 +4,6 @@ TRUNCATE `enregistrement` ; ...@@ -4,7 +4,6 @@ TRUNCATE `enregistrement` ;
TRUNCATE `mots_interdits`; TRUNCATE `mots_interdits`;
TRUNCATE `notif` ; TRUNCATE `notif` ;
TRUNCATE `parties` ; TRUNCATE `parties` ;
TRUNCATE `sanctionCarte` ;
UPDATE `stats` SET `nbJeux_oracle` = '0', `nbAbandons_oracle` = '0', `nbEnregistrements_oracle` = '0', `nbErreurs_oracle` = '0', `nbLectures_oracle` = '0', `nbSucces_oracle` = '0', `score_oracle` = '0', `nbCartes_druide` = '0', `nbArbitrages_druide` = '0', `nbErrArbitrage_druide` = '0', `score_druide` = '0', `nbEnregistrements_devin` = '0', `nbMotsTrouves_devin` = '0', `score_devin` = '0' WHERE *; UPDATE `stats` SET `nbJeux_oracle` = '0', `nbAbandons_oracle` = '0', `nbEnregistrements_oracle` = '0', `nbErreurs_oracle` = '0', `nbLectures_oracle` = '0', `nbSucces_oracle` = '0', `score_oracle` = '0', `nbCartes_druide` = '0', `nbArbitrages_druide` = '0', `nbErrArbitrage_druide` = '0', `score_druide` = '0', `nbEnregistrements_devin` = '0', `nbMotsTrouves_devin` = '0', `score_devin` = '0' WHERE *;
TRUNCATE `themes` ; TRUNCATE `themes` ;
TRUNCATE `themes_cartes` ; TRUNCATE `themes_cartes` ;
......
...@@ -130,11 +130,9 @@ CREATE TABLE IF NOT EXISTS `parties` ( ...@@ -130,11 +130,9 @@ CREATE TABLE IF NOT EXISTS `parties` (
`enregistrementID` int(11) NOT NULL, `enregistrementID` int(11) NOT NULL,
`tpsDevin` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `tpsDevin` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`idDevin` int(11) NOT NULL, `idDevin` int(11) NOT NULL,
`tpsdejeu` datetime NULL DEFAULT NULL, `reussie` enum('en cours','non','oui') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'en cours',
`reussie` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`partieID`), PRIMARY KEY (`partieID`),
KEY `enregistrementID` (`enregistrementID`), UNIQUE KEY `un_enr_par_joueur` (`idDevin`,`enregistrementID`) USING BTREE
KEY `idDevin` (`idDevin`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- -------------------------------------------------------- -- --------------------------------------------------------
......
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