diff --git a/sql/swad.sql b/sql/swad.sql index 0cf975b22..585edde42 100644 --- a/sql/swad.sql +++ b/sql/swad.sql @@ -1282,7 +1282,6 @@ CREATE TABLE IF NOT EXISTS tst_config ( Max INT NOT NULL, MinTimeNxtTstPerQst INT NOT NULL DEFAULT 0, Visibility INT NOT NULL DEFAULT 0x1f, - Feedback ENUM('nothing','total_result','each_result','each_good_bad','full_feedback') NOT NULL, UNIQUE INDEX(CrsCod)); -- -- Table tst_exam_questions: stores the questions and answers in test exams made by users diff --git a/swad_changelog.h b/swad_changelog.h index 6354f852e..c6a6c3db7 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -497,7 +497,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - * En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 19.125.1 (2020-02-17)" +#define Log_PLATFORM_VERSION "SWAD 19.125.2 (2020-02-17)" #define CSS_FILE "swad19.118.css" #define JS_FILE "swad19.91.1.js" /* @@ -505,10 +505,13 @@ ps2pdf source.ps destination.pdf // TODO: Impedir la creación y edición de proyectos si no son editables. // TODO: No se puede entrar con DNI '1' suponiendo que no tenga password ¿por qué? // TODO: En la lista de conectados central, poner el logo de la institución a la que pertenece el usuario -// TODO: Remove Feedback field from tst_config database table // TODO: Add visibility to API function getTestConfig // TODO: Add visibility to games + Version 19.125.2: Feb 17, 2020 Removed Feedback field from tst_config database table. (278850 lines) + 1 change necessary in database: +ALTER TABLE tst_config DROP COLUMN Feedback; + Version 19.125.1: Feb 17, 2020 Code refactoring in test. (278851 lines) Version 19.125: Feb 17, 2020 Removed feedback from test config form. (278823 lines) Version 19.124.1: Feb 17, 2020 Fixed bug reported by Javier Fernández Baldomero. diff --git a/swad_database.c b/swad_database.c index f56a32532..ea69a01ad 100644 --- a/swad_database.c +++ b/swad_database.c @@ -2704,19 +2704,18 @@ mysql> DESCRIBE tst_answers; /***** Table tst_config *****/ /* mysql> DESCRIBE tst_config; -+---------------------+------------------------------------------------------------------------------+------+-----+---------+-------+ -| Field | Type | Null | Key | Default | Extra | -+---------------------+------------------------------------------------------------------------------+------+-----+---------+-------+ -| CrsCod | int(11) | NO | PRI | -1 | | -| Pluggable | enum('unknown','N','Y') | NO | | unknown | | -| Min | int(11) | NO | | NULL | | -| Def | int(11) | NO | | NULL | | -| Max | int(11) | NO | | NULL | | -| MinTimeNxtTstPerQst | int(11) | NO | | 0 | | -| Visibility | int(11) | NO | | 31 | | -| Feedback | enum('nothing','total_result','each_result','each_good_bad','full_feedback') | NO | | NULL | | -+---------------------+------------------------------------------------------------------------------+------+-----+---------+-------+ -8 rows in set (0.00 sec) ++---------------------+-------------------------+------+-----+---------+-------+ +| Field | Type | Null | Key | Default | Extra | ++---------------------+-------------------------+------+-----+---------+-------+ +| CrsCod | int(11) | NO | PRI | -1 | | +| Pluggable | enum('unknown','N','Y') | NO | | unknown | | +| Min | int(11) | NO | | NULL | | +| Def | int(11) | NO | | NULL | | +| Max | int(11) | NO | | NULL | | +| MinTimeNxtTstPerQst | int(11) | NO | | 0 | | +| Visibility | int(11) | NO | | 31 | | ++---------------------+-------------------------+------+-----+---------+-------+ +7 rows in set (0.00 sec) */ DB_CreateTable ("CREATE TABLE IF NOT EXISTS tst_config (" "CrsCod INT NOT NULL DEFAULT -1," @@ -2726,7 +2725,6 @@ mysql> DESCRIBE tst_config; "Max INT NOT NULL," "MinTimeNxtTstPerQst INT NOT NULL DEFAULT 0," "Visibility INT NOT NULL DEFAULT 0x1f," - "Feedback ENUM('nothing','total_result','each_result','each_good_bad','full_feedback') NOT NULL," "UNIQUE INDEX(CrsCod))"); /***** Table tst_exam_questions *****/