Version 16.155.16

This commit is contained in:
Antonio Cañas Vargas 2017-03-12 20:30:01 +01:00
parent 61e96d8b4a
commit 97cd3b6643
3 changed files with 13 additions and 9 deletions

View File

@ -623,7 +623,7 @@ CREATE TABLE IF NOT EXISTS log_banners (
-- --
CREATE TABLE IF NOT EXISTS log_comments ( CREATE TABLE IF NOT EXISTS log_comments (
LogCod INT NOT NULL, LogCod INT NOT NULL,
Comments VARCHAR(255) NOT NULL, Comments TEXT NOT NULL,
UNIQUE INDEX(LogCod)); UNIQUE INDEX(LogCod));
-- --
-- Table log: stores the log of all clicks -- Table log: stores the log of all clicks

View File

@ -207,13 +207,17 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.155.15 (2017-03-12)" #define Log_PLATFORM_VERSION "SWAD 16.155.16 (2017-03-12)"
#define CSS_FILE "swad16.147.css" #define CSS_FILE "swad16.147.css"
#define JS_FILE "swad16.144.js" #define JS_FILE "swad16.144.js"
// Number of lines (includes comments but not blank lines) has been got with the following command: // 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 // 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.16:Mar 11, 2017 Adjusting size of database fields. (216746 lines)
1 change necessary in database:
ALTER TABLE log_comments CHANGE COLUMN Comments Comments TEXT NOT NULL;
Version 16.155.15:Mar 11, 2017 Adjusting size of database fields. (216746 lines) Version 16.155.15:Mar 11, 2017 Adjusting size of database fields. (216746 lines)
2 changes necessary in database: 2 changes necessary in database:
ALTER TABLE links CHANGE COLUMN ShortName ShortName VARCHAR(511) NOT NULL; ALTER TABLE links CHANGE COLUMN ShortName ShortName VARCHAR(511) NOT NULL;

View File

@ -1341,10 +1341,10 @@ mysql> DESCRIBE log_banners;
*/ */
// TODO: Change NtfCod and LogCod from INT to BIGINT in database tables. // TODO: Change NtfCod and LogCod from INT to BIGINT in database tables.
DB_CreateTable ("CREATE TABLE IF NOT EXISTS log_banners (" DB_CreateTable ("CREATE TABLE IF NOT EXISTS log_banners ("
"LogCod INT NOT NULL," "LogCod INT NOT NULL,"
"BanCod INT NOT NULL," "BanCod INT NOT NULL,"
"UNIQUE INDEX(LogCod)," "UNIQUE INDEX(LogCod),"
"INDEX(BanCod))"); "INDEX(BanCod))");
/***** Table log_comments *****/ /***** Table log_comments *****/
/* /*
@ -1358,9 +1358,9 @@ mysql> DESCRIBE log_comments;
2 rows in set (0.00 sec) 2 rows in set (0.00 sec)
*/ */
DB_CreateTable ("CREATE TABLE IF NOT EXISTS log_comments (" DB_CreateTable ("CREATE TABLE IF NOT EXISTS log_comments ("
"LogCod INT NOT NULL," "LogCod INT NOT NULL,"
"Comments VARCHAR(255) NOT NULL," "Comments TEXT NOT NULL,"
"UNIQUE INDEX(LogCod))"); "UNIQUE INDEX(LogCod))");
/***** Table log_full *****/ /***** Table log_full *****/
/* /*