Version 15.110.5

This commit is contained in:
Antonio Cañas Vargas 2016-01-12 19:33:38 +01:00
parent 683d00554c
commit 1d01b63ea7
3 changed files with 28 additions and 1 deletions

View File

@ -960,6 +960,13 @@ CREATE TABLE IF NOT EXISTS social_pubs (
INDEX(PubType),
INDEX(TimePublish));
--
-- Table social_timelines: stores notes published in social timeline for every active session
--
CREATE TABLE IF NOT EXISTS social_timelines (
SessionId CHAR(43) NOT NULL,
NotCod BIGINT NOT NULL,
UNIQUE INDEX(SessionId,NotCod));
--
-- Table sta_degrees: stores statistics about degrees
--
CREATE TABLE IF NOT EXISTS sta_degrees (

View File

@ -122,13 +122,17 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.110.4 (2016-01-12)"
#define Log_PLATFORM_VERSION "SWAD 15.110.5 (2016-01-12)"
#define CSS_FILE "swad15.110.2.css"
#define JS_FILE "swad15.107.2.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 15.110.5: Jan 12, 2016 New database table used to store social notes already present in every timeline. (192288 lines)
1 change necessary in database:
CREATE TABLE IF NOT EXISTS social_timelines (SessionId CHAR(43) NOT NULL,NotCod BIGINT NOT NULL,UNIQUE INDEX(SessionId,NotCod));
Version 15.110.4: Jan 12, 2016 Database table with social comments renamed. (192263 lines)
2 changes necessary in database:
DROP TABLE social_comments;

View File

@ -2029,6 +2029,22 @@ mysql> DESCRIBE social_pubs;
"INDEX(PubType),"
"INDEX(TimePublish))");
/***** Table social_timelines *****/
/*
mysql> DESCRIBE social_timelines;
+-----------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+------------+------+-----+---------+-------+
| SessionId | char(43) | NO | PRI | NULL | |
| NotCod | bigint(20) | NO | PRI | NULL | |
+-----------+------------+------+-----+---------+-------+
2 rows in set (0.00 sec)
*/
DB_CreateTable ("CREATE TABLE IF NOT EXISTS social_timelines ("
"SessionId CHAR(43) NOT NULL,"
"NotCod BIGINT NOT NULL,"
"UNIQUE INDEX(SessionId,NotCod))");
/***** Table sta_degrees *****/
/*
mysql> DESCRIBE sta_degrees;