mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-13 12:14:06 +02:00
Version 20.51.11: Mar 18, 2021 Forum theads database table renamed.
This commit is contained in:
parent
a30d54d189
commit
6f46853a87
|
@ -700,9 +700,9 @@ CREATE TABLE IF NOT EXISTS forum_thr_read (
|
||||||
ReadTime DATETIME NOT NULL,
|
ReadTime DATETIME NOT NULL,
|
||||||
UNIQUE INDEX(ThrCod,UsrCod));
|
UNIQUE INDEX(ThrCod,UsrCod));
|
||||||
--
|
--
|
||||||
-- Table forum_thread: stores the forum threads
|
-- Table for_threads: stores the forum threads
|
||||||
--
|
--
|
||||||
CREATE TABLE IF NOT EXISTS forum_thread (
|
CREATE TABLE IF NOT EXISTS for_threads (
|
||||||
ThrCod INT NOT NULL AUTO_INCREMENT,
|
ThrCod INT NOT NULL AUTO_INCREMENT,
|
||||||
ForumType TINYINT NOT NULL,
|
ForumType TINYINT NOT NULL,
|
||||||
Location INT NOT NULL DEFAULT -1,
|
Location INT NOT NULL DEFAULT -1,
|
||||||
|
|
|
@ -600,13 +600,17 @@ TODO: Salvador Romero Cort
|
||||||
|
|
||||||
TODO: FIX BUG, URGENT! En las fechas como parámetro Dat_WriteParamsIniEndDates(), por ejemplo al cambiar el color de la gráfica de accesos por día y hora, no se respeta la zona horaria.
|
TODO: FIX BUG, URGENT! En las fechas como parámetro Dat_WriteParamsIniEndDates(), por ejemplo al cambiar el color de la gráfica de accesos por día y hora, no se respeta la zona horaria.
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 20.51.10 (2021-03-18)"
|
#define Log_PLATFORM_VERSION "SWAD 20.51.11 (2021-03-18)"
|
||||||
#define CSS_FILE "swad20.45.css"
|
#define CSS_FILE "swad20.45.css"
|
||||||
#define JS_FILE "swad20.6.2.js"
|
#define JS_FILE "swad20.6.2.js"
|
||||||
/*
|
/*
|
||||||
TODO: Rename CENTRE to CENTER in help wiki.
|
TODO: Rename CENTRE to CENTER in help wiki.
|
||||||
TODO: Rename ASSESSMENT.Announcements to ASSESSMENT.Calls_for_exams
|
TODO: Rename ASSESSMENT.Announcements to ASSESSMENT.Calls_for_exams
|
||||||
|
|
||||||
|
Version 20.51.11: Mar 18, 2021 Forum theads database table renamed. (307844 lines)
|
||||||
|
1 change necessary in database:
|
||||||
|
RENAME TABLE forum_thread TO for_threads;
|
||||||
|
|
||||||
Version 20.51.10: Mar 18, 2021 Forum posts database tables renamed. (307775 lines)
|
Version 20.51.10: Mar 18, 2021 Forum posts database tables renamed. (307775 lines)
|
||||||
1 change necessary in database:
|
1 change necessary in database:
|
||||||
RENAME TABLE forum_disabled_post TO for_disabled_posts;
|
RENAME TABLE forum_disabled_post TO for_disabled_posts;
|
||||||
|
|
|
@ -1525,9 +1525,9 @@ mysql> DESCRIBE forum_thr_read;
|
||||||
"ReadTime DATETIME NOT NULL,"
|
"ReadTime DATETIME NOT NULL,"
|
||||||
"UNIQUE INDEX(ThrCod,UsrCod))");
|
"UNIQUE INDEX(ThrCod,UsrCod))");
|
||||||
|
|
||||||
/***** Table forum_thread *****/
|
/***** Table for_threads *****/
|
||||||
/*
|
/*
|
||||||
mysql> DESCRIBE forum_thread;
|
mysql> DESCRIBE for_threads;
|
||||||
+-------------+------------+------+-----+---------+----------------+
|
+-------------+------------+------+-----+---------+----------------+
|
||||||
| Field | Type | Null | Key | Default | Extra |
|
| Field | Type | Null | Key | Default | Extra |
|
||||||
+-------------+------------+------+-----+---------+----------------+
|
+-------------+------------+------+-----+---------+----------------+
|
||||||
|
@ -1539,7 +1539,7 @@ mysql> DESCRIBE forum_thread;
|
||||||
+-------------+------------+------+-----+---------+----------------+
|
+-------------+------------+------+-----+---------+----------------+
|
||||||
5 rows in set (0.00 sec)
|
5 rows in set (0.00 sec)
|
||||||
*/
|
*/
|
||||||
DB_CreateTable ("CREATE TABLE IF NOT EXISTS forum_thread ("
|
DB_CreateTable ("CREATE TABLE IF NOT EXISTS for_threads ("
|
||||||
"ThrCod INT NOT NULL AUTO_INCREMENT,"
|
"ThrCod INT NOT NULL AUTO_INCREMENT,"
|
||||||
"ForumType TINYINT NOT NULL,"
|
"ForumType TINYINT NOT NULL,"
|
||||||
"Location INT NOT NULL DEFAULT -1,"
|
"Location INT NOT NULL DEFAULT -1,"
|
||||||
|
|
798
swad_forum.c
798
swad_forum.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user