Able to check MCQ
This commit is contained in:
parent
037f27c62c
commit
6903c91df2
6 changed files with 79 additions and 13 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue