mirror of https://github.com/acanas/swad-core.git
Version 16.155.16
This commit is contained in:
parent
61e96d8b4a
commit
97cd3b6643
|
@ -623,7 +623,7 @@ CREATE TABLE IF NOT EXISTS log_banners (
|
|||
--
|
||||
CREATE TABLE IF NOT EXISTS log_comments (
|
||||
LogCod INT NOT NULL,
|
||||
Comments VARCHAR(255) NOT NULL,
|
||||
Comments TEXT NOT NULL,
|
||||
UNIQUE INDEX(LogCod));
|
||||
--
|
||||
-- Table log: stores the log of all clicks
|
||||
|
|
|
@ -207,13 +207,17 @@
|
|||
/****************************** 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 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.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)
|
||||
2 changes necessary in database:
|
||||
ALTER TABLE links CHANGE COLUMN ShortName ShortName VARCHAR(511) NOT NULL;
|
||||
|
|
|
@ -1341,10 +1341,10 @@ mysql> DESCRIBE log_banners;
|
|||
*/
|
||||
// TODO: Change NtfCod and LogCod from INT to BIGINT in database tables.
|
||||
DB_CreateTable ("CREATE TABLE IF NOT EXISTS log_banners ("
|
||||
"LogCod INT NOT NULL,"
|
||||
"BanCod INT NOT NULL,"
|
||||
"UNIQUE INDEX(LogCod),"
|
||||
"INDEX(BanCod))");
|
||||
"LogCod INT NOT NULL,"
|
||||
"BanCod INT NOT NULL,"
|
||||
"UNIQUE INDEX(LogCod),"
|
||||
"INDEX(BanCod))");
|
||||
|
||||
/***** Table log_comments *****/
|
||||
/*
|
||||
|
@ -1358,9 +1358,9 @@ mysql> DESCRIBE log_comments;
|
|||
2 rows in set (0.00 sec)
|
||||
*/
|
||||
DB_CreateTable ("CREATE TABLE IF NOT EXISTS log_comments ("
|
||||
"LogCod INT NOT NULL,"
|
||||
"Comments VARCHAR(255) NOT NULL,"
|
||||
"UNIQUE INDEX(LogCod))");
|
||||
"LogCod INT NOT NULL,"
|
||||
"Comments TEXT NOT NULL,"
|
||||
"UNIQUE INDEX(LogCod))");
|
||||
|
||||
/***** Table log_full *****/
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue