Version 15.139.1

This commit is contained in:
Antonio Cañas Vargas 2016-02-29 21:23:56 +01:00
parent ebd0b0c342
commit cd3d592cf7
3 changed files with 8 additions and 9 deletions

View File

@ -391,8 +391,6 @@ CREATE TABLE IF NOT EXISTS degrees (
RequesterUsrCod INT NOT NULL DEFAULT -1,
ShortName VARCHAR(32) NOT NULL,
FullName VARCHAR(127) NOT NULL,
FirstYear TINYINT NOT NULL DEFAULT 0,
LastYear TINYINT NOT NULL DEFAULT 0,
WWW VARCHAR(255) NOT NULL,
UNIQUE INDEX(DegCod),
INDEX(CtrCod),

View File

@ -118,8 +118,9 @@
// TODO: Remove AllowDirectLogIn in table deg_types
// TODO: If a follower follows a user whose profile is no longer visible ==> put icon to unfollow in list of followed
// TODO: FIX BUG: In results of search of students, no mark of confirmation is shown even if the student really has confirmed his/her registration in the course
// TODO: Insert "http://" to WWW when WWW does not start with "*://"
// TODO: Put link "Ir a ..." after editing a degree, centre or institution (similar to course)
// TODO: Remove fields 'FirstYear' and 'LastYear' from database table 'degrees'
// TODO: Change "Año o semestre" to "Curso o semestre"
// TODO: Change "El curso de la asignatura..." to "El curso/semestre de la asignatura..."
@ -127,13 +128,17 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.139 (2016-02-29)"
#define Log_PLATFORM_VERSION "SWAD 15.139.1 (2016-02-29)"
#define CSS_FILE "swad15.137.2.css"
#define JS_FILE "swad15.131.3.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.139.1: Feb 29, 2016 Remove fields FirstYear and LastYear from database table degrees. (195732 lines)
1 change necessary in database:
ALTER TABLE degrees DROP COLUMN FirstYear,DROP COLUMN LastYear;
Version 15.139: Feb 29, 2016 Remove edition of years in edition of degrees. Every degree now have years from 1 to 12 (and N.A.) (195734 lines)
1 change necessary in database:
UPDATE actions SET Obsolete='Y' WHERE ActCod IN ('550','551');

View File

@ -867,11 +867,9 @@ mysql> DESCRIBE degrees;
| RequesterUsrCod | int(11) | NO | | -1 | |
| ShortName | varchar(32) | NO | | NULL | |
| FullName | varchar(127) | NO | | NULL | |
| FirstYear | tinyint(4) | NO | | 0 | |
| LastYear | tinyint(4) | NO | | 0 | |
| WWW | varchar(255) | NO | | NULL | |
+-----------------+--------------+------+-----+---------+----------------+
10 rows in set (0.00 sec)
8 rows in set (0.00 sec)
*/
DB_CreateTable ("CREATE TABLE IF NOT EXISTS degrees ("
"DegCod INT NOT NULL AUTO_INCREMENT,"
@ -881,8 +879,6 @@ mysql> DESCRIBE degrees;
"RequesterUsrCod INT NOT NULL DEFAULT -1,"
"ShortName VARCHAR(32) NOT NULL,"
"FullName VARCHAR(127) NOT NULL,"
"FirstYear TINYINT NOT NULL DEFAULT 0,"
"LastYear TINYINT NOT NULL DEFAULT 0,"
"WWW VARCHAR(255) NOT NULL,"
"UNIQUE INDEX(DegCod),"
"INDEX(CtrCod),"