Version 16.155.4

This commit is contained in:
Antonio Cañas Vargas 2017-03-10 23:19:08 +01:00
parent 1001e70582
commit 0056a531e2
4 changed files with 29 additions and 21 deletions

View File

@ -254,8 +254,8 @@ CREATE TABLE IF NOT EXISTS courses (
InsCrsCod CHAR(7) NOT NULL,
Status TINYINT NOT NULL DEFAULT 0,
RequesterUsrCod INT NOT NULL DEFAULT -1,
ShortName VARCHAR(32) COLLATE latin1_spanish_ci NOT NULL,
FullName VARCHAR(127) COLLATE latin1_spanish_ci NOT NULL,
ShortName VARCHAR(511) COLLATE latin1_spanish_ci NOT NULL,
FullName VARCHAR(2047) COLLATE latin1_spanish_ci NOT NULL,
NumIndicators INT NOT NULL DEFAULT -1,
UNIQUE INDEX(CrsCod),
INDEX(DegCod,Year),

View File

@ -200,17 +200,25 @@
// TODO: Subject in msg_content and msg_content_deleted should be VARCHAR(255) in order to be copied directly to SummaryStr
// TODO: Check how to get a summary of a social post or comments
// TODO: En la agenda debe poder repetirse el nombre del evento
// TODO: Cuando hay un fallo al rellenar el formulario de nuevo evento en la agenda se borran los datos
/*****************************************************************************/
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.155.3 (2017-03-09)"
#define Log_PLATFORM_VERSION "SWAD 16.155.4 (2017-03-10)"
#define CSS_FILE "swad16.147.css"
#define JS_FILE "swad16.144.js"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
/*
Version 16.155.4: Mar 10, 2017 Adjusting size of database fields. (216626 lines)
2 changes necessary in database:
ALTER TABLE courses CHANGE COLUMN ShortName ShortName VARCHAR(511) COLLATE latin1_spanish_ci NOT NULL;
ALTER TABLE courses CHANGE COLUMN FullName FullName VARCHAR(2047) COLLATE latin1_spanish_ci NOT NULL;
Version 16.155.3: Mar 10, 2017 Adjusting size of database fields.
Code refactoring related with renaming country name. (216620 lines)
9 changes necessary in database:

View File

@ -610,8 +610,8 @@ mysql> DESCRIBE courses;
"InsCrsCod CHAR(7) NOT NULL,"
"Status TINYINT NOT NULL DEFAULT 0,"
"RequesterUsrCod INT NOT NULL DEFAULT -1,"
"ShortName VARCHAR(32) COLLATE latin1_spanish_ci NOT NULL,"
"FullName VARCHAR(127) COLLATE latin1_spanish_ci NOT NULL,"
"ShortName VARCHAR(511) COLLATE latin1_spanish_ci NOT NULL," // Hie_MAX_BYTES_SHRT_NAME
"FullName VARCHAR(2047) COLLATE latin1_spanish_ci NOT NULL," // Hie_MAX_BYTES_FULL_NAME
"NumIndicators INT NOT NULL DEFAULT -1,"
"UNIQUE INDEX(CrsCod),"
"INDEX(DegCod,Year),"