Able to check MCQ

This commit is contained in:
nemunaire 2017-12-16 01:16:30 +01:00
commit 6903c91df2
6 changed files with 79 additions and 13 deletions

View file

@ -18,13 +18,13 @@ func truncateTable(tables ...string) (error) {
}
func ResetGame() (error) {
return truncateTable("team_hints", "key_found", "exercice_solved", "exercice_tries")
return truncateTable("team_hints", "key_found", "mcq_found", "exercice_solved", "exercice_tries")
}
func ResetExercices() (error) {
return truncateTable("team_hints", "exercice_files", "key_found", "exercice_keys", "exercice_solved", "exercice_tries", "exercice_hints", "mcq_entries", "exercice_mcq", "exercices", "themes")
return truncateTable("team_hints", "exercice_files", "key_found", "exercice_keys", "exercice_solved", "exercice_tries", "exercice_hints", "mcq_found", "mcq_entries", "exercice_mcq", "exercices", "themes")
}
func ResetTeams() (error) {
return truncateTable("team_hints", "key_found", "exercice_solved", "exercice_tries", "team_members", "teams")
return truncateTable("team_hints", "key_found", "mcq_found", "exercice_solved", "exercice_tries", "team_members", "teams")
}