2014-12-02 20:43:32 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" xml:lang = "en" lang = "en" >
< head >
< title > SWAD: Database< / title >
2015-01-04 19:59:41 +01:00
< link rel = "StyleSheet" href = "/swad.css" type = "text/css" / >
2014-12-02 20:43:32 +01:00
< script >
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40768375-1', 'openswad.org', {
'anonymizeIp': true,
'storage': 'none',
'clientId': window.localStorage.getItem('ga_clientId')
});
ga(function(tracker) {
window.localStorage.setItem('ga_clientID', tracker.get('clientId'));
});
ga('send', 'pageview');
< / script >
< / head >
< body >
< table width = "100%" border = "0" cellpadding = "20" cellspacing = "0" >
< tr >
< td align = "center" >
< table width = "90%" border = "0" cellspacing = "20" >
< tr >
< td align = "center" class = "SWAD" >
< a href = "http://openswad.org/" class = "SWAD" > < img src = "/logo/swad224x64.png" alt = "SWAD" width = "224" height = "64" / >
2018-10-04 21:57:25 +02:00
< br / > social workspace at a distance< / a >
2014-12-02 20:43:32 +01:00
< / td >
< / tr >
< tr >
< td align = "center" >
< h1 > SWAD database< / h1 >
< a href = "http://creativecommons.org/licenses/by-sa/3.0/deed.es_ES" title = "License of text on this page" class = "COPYRIGHT" > < img src = "/img/cc-by-sa.png" style = "width:88px; height=31px; vertical-align:middle;" alt = "CC BY-SA" / > < / a >
2023-10-06 10:55:13 +02:00
< a href = "https://openswad.org/en?usr=@acanas" target = "_blank" > Antonio Cañ as Vargas< / a > , 1999-2021
2014-12-02 20:43:32 +01:00
< / td >
< / tr >
< tr >
< td align = "left" >
< h2 > Database< / h2 >
< p align = "justify" >
SWAD uses the < a href = "http://en.wikipedia.org/wiki/Database" > database management system< / a > < a href = "http://www.mysql.com/" > MySQL< / a >
to store the most part of the data, although certain elements are managed directly in
< a href = "http://en.wikipedia.org/wiki/XML" > XML< / a >
< a href = "http://en.wikipedia.org/wiki/Computer_file" > files< / a > .
< / p >
< h3 > Tables< / h3 >
< p align = "center" >
2018-10-04 21:57:25 +02:00
< img src = "img/swad_database.png" width = "90%" height = "90%" alt = "SWAD database" / >
2014-12-02 20:43:32 +01:00
< / p >
< p align = "justify" >
2023-10-06 10:55:13 +02:00
There are 144 tables in SWAD:
2014-12-02 20:43:32 +01:00
< / p >
< pre >
mysql> SHOW TABLES;
2023-10-06 10:55:13 +02:00
+--------------------------+
| Tables_in_swad |
+--------------------------+
| < a href = "#act_frequent" > act_frequent< / a > |
| < a href = "#agd_agendas" > agd_agendas< / a > |
| < a href = "#ann_announcements" > ann_announcements< / a > |
| < a href = "#ann_seen" > ann_seen< / a > |
| < a href = "#api_keys" > api_keys< / a > |
| < a href = "#asg_assignments" > asg_assignments< / a > |
| < a href = "#asg_groups" > asg_groups< / a > |
| < a href = "#att_events" > att_events< / a > |
| < a href = "#att_groups" > att_groups< / a > |
| < a href = "#att_users" > att_users< / a > |
| < a href = "#ban_banners" > ban_banners< / a > |
| < a href = "#bld_buildings" > bld_buildings< / a > |
| < a href = "#brw_caches" > brw_caches< / a > |
| < a href = "#brw_clipboards" > brw_clipboards< / a > |
| < a href = "#brw_expanded" > brw_expanded< / a > |
| < a href = "#brw_files" > brw_files< / a > |
| < a href = "#brw_last" > brw_last< / a > |
| < a href = "#brw_sizes" > brw_sizes< / a > |
| < a href = "#brw_views" > brw_views< / a > |
| < a href = "#cfe_exams" > cfe_exams< / a > |
| < a href = "#cht_rooms" > cht_rooms< / a > |
| < a href = "#crs_courses" > crs_courses< / a > |
| < a href = "#crs_info_read" > crs_info_read< / a > |
| < a href = "#crs_info_src" > crs_info_src< / a > |
| < a href = "#crs_info_txt" > crs_info_txt< / a > |
| < a href = "#crs_last" > crs_last< / a > |
| < a href = "#crs_record_fields" > crs_record_fields< / a > |
| < a href = "#crs_records" > crs_records< / a > |
| < a href = "#crs_requests" > crs_requests< / a > |
| < a href = "#crs_users" > crs_users< / a > |
| < a href = "#crs_user_settings" > crs_user_settings< / a > |
| < a href = "#ctr_centers" > ctr_centers< / a > |
| < a href = "#cty_countrs" > cty_countrs< / a > |
| < a href = "#dbg_debug" > dbg_debug< / a > |
| < a href = "#deg_degrees" > deg_degrees< / a > |
| < a href = "#deg_types" > deg_types< / a > |
| < a href = "#dpt_departments" > dpt_departments< / a > |
| < a href = "#exa_exams" > exa_exams< / a > |
| < a href = "#exa_groups" > exa_groups< / a > |
| < a href = "#exa_log" > exa_log< / a > |
| < a href = "#exa_log_sessions" > exa_log_sessions< / a > |
| < a href = "#exa_log_user_agents" > exa_log_user_agents< / a > |
| < a href = "#exa_print_questions" > exa_print_questions< / a > |
| < a href = "#exa_prints" > exa_prints< / a > |
| < a href = "#exa_sessions" > exa_sessions< / a > |
| < a href = "#exa_set_answers" > exa_set_answers< / a > |
| < a href = "#exa_set_questions" > exa_set_questions< / a > |
| < a href = "#exa_sets" > exa_sets< / a > |
| < a href = "#fig_figures" > fig_figures< / a > |
| < a href = "#fir_banned" > fir_banned< / a > |
| < a href = "#fir_log" > fir_log< / a > |
| < a href = "#for_clipboards" > for_clipboards< / a > |
| < a href = "#for_disabled" > for_disabled< / a > |
| < a href = "#for_posts" > for_posts< / a > |
| < a href = "#for_read" > for_read< / a > |
| < a href = "#for_threads" > for_threads< / a > |
| < a href = "#gam_games" > gam_games< / a > |
| < a href = "#gam_questions" > gam_questions< / a > |
| < a href = "#grp_groups" > grp_groups< / a > |
| < a href = "#grp_types" > grp_types< / a > |
| < a href = "#grp_users" > grp_users< / a > |
| < a href = "#hld_holidays" > hld_holidays< / a > |
| < a href = "#ins_instits" > ins_instits< / a > |
| < a href = "#lnk_links" > lnk_links< / a > |
| < a href = "#log" > log< / a > |
| < a href = "#log_api" > log_api< / a > |
| < a href = "#log_banners" > log_banners< / a > |
| < a href = "#log_comments" > log_comments< / a > |
| < a href = "#log_recent" > log_recent< / a > |
| < a href = "#log_search" > log_search< / a > |
| < a href = "#mch_answers" > mch_answers< / a > |
| < a href = "#mch_groups" > mch_groups< / a > |
| < a href = "#mch_indexes" > mch_indexes< / a > |
| < a href = "#mch_matches" > mch_matches< / a > |
| < a href = "#mch_players" > mch_players< / a > |
| < a href = "#mch_playing" > mch_playing< / a > |
| < a href = "#mch_results" > mch_results< / a > |
| < a href = "#mch_times" > mch_times< / a > |
| < a href = "#med_media" > med_media< / a > |
| < a href = "#mrk_marks" > mrk_marks< / a > |
| < a href = "#msg_banned" > msg_banned< / a > |
| < a href = "#msg_content" > msg_content< / a > |
| < a href = "#msg_content_deleted" > msg_content_deleted< / a > |
| < a href = "#msg_rcv" > msg_rcv< / a > |
| < a href = "#msg_rcv_deleted" > msg_rcv_deleted< / a > |
| < a href = "#msg_snt" > msg_snt< / a > |
| < a href = "#msg_snt_deleted" > msg_snt_deleted< / a > |
| < a href = "#not_deleted" > not_deleted< / a > |
| < a href = "#not_notices" > not_notices< / a > |
| < a href = "#ntf_mail_domains" > ntf_mail_domains< / a > |
| < a href = "#ntf_notifications" > ntf_notifications< / a > |
| < a href = "#plc_places" > plc_places< / a > |
| < a href = "#plg_plugins" > plg_plugins< / a > |
| < a href = "#prg_items" > prg_items< / a > |
| < a href = "#prj_config" > prj_config< / a > |
| < a href = "#prj_projects" > prj_projects< / a > |
| < a href = "#prj_users" > prj_users< / a > |
| < a href = "#roo_check_in" > roo_check_in< / a > |
| < a href = "#roo_macs" > roo_macs< / a > |
| < a href = "#roo_rooms" > roo_rooms< / a > |
| < a href = "#ses_params" > ses_params< / a > |
| < a href = "#ses_sessions" > ses_sessions< / a > |
| < a href = "#set_ip_settings" > set_ip_settings< / a > |
| < a href = "#sta_degrees" > sta_degrees< / a > |
| < a href = "#sta_notifications" > sta_notifications< / a > |
| < a href = "#svy_answers" > svy_answers< / a > |
| < a href = "#svy_groups" > svy_groups< / a > |
| < a href = "#svy_questions" > svy_questions< / a > |
| < a href = "#svy_surveys" > svy_surveys< / a > |
| < a href = "#svy_users" > svy_users< / a > |
| < a href = "#tml_comments" > tml_comments< / a > |
| < a href = "#tml_comments_fav" > tml_comments_fav< / a > |
| < a href = "#tml_notes" > tml_notes< / a > |
| < a href = "#tml_notes_fav" > tml_notes_fav< / a > |
| < a href = "#tml_posts" > tml_posts< / a > |
| < a href = "#tml_pubs" > tml_pubs< / a > |
| < a href = "#tml_timelines" > tml_timelines< / a > |
| < a href = "#tmt_courses" > tmt_courses< / a > |
| < a href = "#tmt_tutoring" > tmt_tutoring< / a > |
| < a href = "#tst_answers" > tst_answers< / a > |
| < a href = "#tst_config" > tst_config< / a > |
| < a href = "#tst_exam_questions" > tst_exam_questions< / a > |
| < a href = "#tst_exams" > tst_exams< / a > |
| < a href = "#tst_question_tags" > tst_question_tags< / a > |
| < a href = "#tst_questions" > tst_questions< / a > |
| < a href = "#tst_tags" > tst_tags< / a > |
| < a href = "#usr_admins" > usr_admins< / a > |
| < a href = "#usr_banned" > usr_banned< / a > |
| < a href = "#usr_birthdays_today" > usr_birthdays_today< / a > |
| < a href = "#usr_clicks_without_photo" > usr_clicks_without_photo< / a > |
| < a href = "#usr_connected" > usr_connected< / a > |
| < a href = "#usr_data" > usr_data< / a > |
| < a href = "#usr_duplicated" > usr_duplicated< / a > |
| < a href = "#usr_emails" > usr_emails< / a > |
| < a href = "#usr_figures" > usr_figures< / a > |
| < a href = "#usr_follow" > usr_follow< / a > |
| < a href = "#usr_ids" > usr_ids< / a > |
| < a href = "#usr_last" > usr_last< / a > |
| < a href = "#usr_nicknames" > usr_nicknames< / a > |
| < a href = "#usr_pending_emails" > usr_pending_emails< / a > |
| < a href = "#usr_pending_passwd" > usr_pending_passwd< / a > |
| < a href = "#usr_reports" > usr_reports< / a > |
| < a href = "#usr_webs" > usr_webs< / a > |
+--------------------------+
144 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2023-10-06 10:55:13 +02:00
< section id = "act_frequent" >
< h3 > Table act_frequent< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the recent actions more frequently made by each user:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE act_frequent;
2014-12-02 20:43:32 +01:00
+-----------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+----------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| UsrCod | int(11) | NO | PRI | NULL | |
| ActCod | int(11) | NO | PRI | NULL | |
| Score | float | NO | | NULL | |
| LastClick | datetime | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+-----------+----------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
4 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2023-10-06 10:55:13 +02:00
< section id = "agd_agendas" >
< h3 > Table agd_agendas< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
Stores users' agendas:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE agd_agendas;
2018-10-04 21:57:25 +02:00
+-----------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+----------------+
| AgdCod | int(11) | NO | PRI | NULL | auto_increment |
| UsrCod | int(11) | NO | MUL | NULL | |
| Public | enum('N','Y') | NO | | N | |
| Hidden | enum('N','Y') | NO | | N | |
| StartTime | datetime | NO | | NULL | |
| EndTime | datetime | NO | | NULL | |
| Event | varchar(2047) | NO | | NULL | |
| Location | varchar(2047) | NO | | NULL | |
| Txt | text | NO | | NULL | |
+-----------+---------------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
9 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "ann_announcements" >
< h3 > Table ann_announcements< / h3 >
< p align = "justify" >
Stores the global announcements:
< / p >
< pre >
mysql> DESCRIBE ann_announcements;
+---------+------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+---------+------------+------+-----+---------+----------------+
| AnnCod | int(11) | NO | PRI | NULL | auto_increment |
| Status | tinyint(4) | NO | MUL | 0 | |
| Roles | int(11) | NO | | 0 | |
| Subject | text | NO | | NULL | |
| Content | text | NO | | NULL | |
+---------+------------+------+-----+---------+----------------+
5 rows in set (0,00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "ann_seen" >
2014-12-02 20:43:32 +01:00
< h3 > Table ann_seen< / h3 >
< p align = "justify" >
2018-10-04 21:57:25 +02:00
Stores the users who have seen global announcements:
2014-12-02 20:43:32 +01:00
< / p >
< pre >
mysql> DESCRIBE ann_seen;
+--------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------+------+-----+---------+-------+
| AnnCod | int(11) | NO | PRI | NULL | |
| UsrCod | int(11) | NO | PRI | NULL | |
+--------+---------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
2 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "api_keys" >
< h3 > Table api_keys< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores the keys used in API / web service:
2014-12-02 20:43:32 +01:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE api_keys;
+----------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+----------+------+-----+---------+-------+
| WSKey | char(43) | NO | PRI | NULL | |
| UsrCod | int(11) | NO | MUL | NULL | |
| PlgCod | int(11) | NO | MUL | NULL | |
| LastTime | datetime | NO | MUL | NULL | |
+----------+----------+------+-----+---------+-------+
4 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "asg_assignments" >
< h3 > Table asg_assignments< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the assignments proposed by the teachers to their students:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE asg_assignments;
2018-10-04 21:57:25 +02:00
+-----------+----------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+----------------+------+-----+---------+----------------+
| AsgCod | int(11) | NO | PRI | NULL | auto_increment |
| CrsCod | int(11) | NO | MUL | -1 | |
| Hidden | enum('N','Y') | NO | | N | |
| NumNotif | int(11) | NO | | 0 | |
| UsrCod | int(11) | NO | | NULL | |
| StartTime | datetime | NO | | NULL | |
| EndTime | datetime | NO | | NULL | |
| Title | varchar(2047) | NO | | NULL | |
| Folder | varbinary(255) | NO | | NULL | |
| Txt | text | NO | | NULL | |
+-----------+----------------+------+-----+---------+----------------+
10 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "asg_groups" >
< h3 > Table asg_groups< / h3 >
< p align = "justify" >
Stores the groups associated to assigments:
< / p >
< pre >
mysql> DESCRIBE asg_groups;
+--------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------+------+-----+---------+-------+
| AsgCod | int(11) | NO | PRI | NULL | |
| GrpCod | int(11) | NO | PRI | NULL | |
+--------+---------+------+-----+---------+-------+
2 rows in set (0,00 sec)
< / pre >
< / section >
2018-10-04 21:57:25 +02:00
< section id = "att_events" >
2014-12-02 20:43:32 +01:00
< h3 > Table att_events< / h3 >
< p align = "justify" >
Stores events used to control attendance:
< / p >
< pre >
mysql> DESCRIBE att_events;
+-------------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------------+---------------+------+-----+---------+----------------+
2018-10-04 21:57:25 +02:00
| AttCod | int(11) | NO | PRI | NULL | auto_increment |
| CrsCod | int(11) | NO | MUL | -1 | |
| Hidden | enum('N','Y') | NO | | N | |
| UsrCod | int(11) | NO | | NULL | |
| StartTime | datetime | NO | | NULL | |
| EndTime | datetime | NO | | NULL | |
| CommentTchVisible | enum('N','Y') | NO | | N | |
| Title | varchar(2047) | NO | | NULL | |
| Txt | text | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+-------------------+---------------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
9 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "att_groups" >
< h3 > Table att_groups< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores groups associated to control attendance:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE att_groups;
2014-12-02 20:43:32 +01:00
+--------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------+------+-----+---------+-------+
| AttCod | int(11) | NO | PRI | NULL | |
| GrpCod | int(11) | NO | PRI | NULL | |
+--------+---------+------+-----+---------+-------+
2 rows in set (0.00 sec)
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "att_users" >
< h3 > Table att_users< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores users who have attended to events:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE att_users;
2014-12-02 20:43:32 +01:00
+------------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+---------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| AttCod | int(11) | NO | PRI | NULL | |
| UsrCod | int(11) | NO | PRI | NULL | |
| Present | enum('N','Y') | NO | | Y | |
| CommentStd | text | NO | | NULL | |
| CommentTch | text | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+------------+---------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
5 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "ban_banners" >
< h3 > Table ban_banners< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores advertising banners:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE ban_banners;
2014-12-02 20:43:32 +01:00
+-----------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+----------------+
| BanCod | int(11) | NO | PRI | NULL | auto_increment |
| Hidden | enum('N','Y') | NO | MUL | N | |
2018-10-04 21:57:25 +02:00
| ShortName | varchar(511) | NO | | NULL | |
| FullName | varchar(2047) | NO | | NULL | |
2014-12-02 20:43:32 +01:00
| Img | varchar(255) | NO | | NULL | |
| WWW | varchar(255) | NO | | NULL | |
+-----------+---------------+------+-----+---------+----------------+
2018-10-04 21:57:25 +02:00
6 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "bld_buildings" >
< h3 > Table bld_buildings< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores buildings in a center:
2014-12-02 20:43:32 +01:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE bld_buildings;
+-----------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+----------------+
| BldCod | int | NO | PRI | NULL | auto_increment |
| CtrCod | int | NO | MUL | NULL | |
| ShortName | varchar(511) | NO | | NULL | |
| FullName | varchar(2047) | NO | | NULL | |
| Location | varchar(2047) | NO | | NULL | |
+-----------+---------------+------+-----+---------+----------------+
5 rows in set (0.00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2023-10-06 10:55:13 +02:00
< section id = "brw_caches" >
< h3 > Table brw_caches< / h3 >
< p align = "justify" >
Stores the media private paths linked from public directories in current session :
< / p >
< pre >
mysql> DESCRIBE brw_caches;
+-----------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+----------+------+-----+---------+-------+
| SessionId | char(43) | NO | MUL | NULL | |
| PrivPath | text | NO | | NULL | |
| TmpPubDir | text | NO | | NULL | |
+-----------+----------+------+-----+---------+-------+
3 rows in set (0.00 sec)
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2023-10-06 10:55:13 +02:00
< section id = "brw_clipboards" >
< h3 > Table brw_clipboards< / h3 >
< p align = "justify" >
Stores clipboards (paths used to copy-paste folders and files):
< / p >
< pre >
mysql> DESCRIBE brw_clipboards;
2014-12-02 20:43:32 +01:00
+-------------+------------+------+-----+-------------------+-----------------------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+------------+------+-----+-------------------+-----------------------------+
| UsrCod | int(11) | NO | PRI | NULL | |
| FileBrowser | tinyint(4) | NO | MUL | NULL | |
2018-10-04 21:57:25 +02:00
| Cod | int(11) | NO | | -1 | |
| WorksUsrCod | int(11) | NO | MUL | NULL | |
2014-12-02 20:43:32 +01:00
| FileType | tinyint(4) | NO | | 0 | |
| Path | text | NO | | NULL | |
| CopyTime | timestamp | NO | | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
+-------------+------------+------+-----+-------------------+-----------------------------+
2023-10-06 10:55:13 +02:00
7 rows in set (0,00 sec)
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2023-10-06 10:55:13 +02:00
< section id = "brw_expanded" >
< h3 > Table brw_expanded< / h3 >
< p align = "justify" >
Stores the expanded folders for each user:
< / p >
< pre >
mysql> DESCRIBE brw_expanded;
+-------------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+------------+------+-----+---------+-------+
| UsrCod | int(11) | NO | MUL | NULL | |
| FileBrowser | tinyint(4) | NO | MUL | NULL | |
| Cod | int(11) | NO | | -1 | |
| WorksUsrCod | int(11) | NO | MUL | NULL | |
| Path | text | NO | | NULL | |
| ClickTime | datetime | NO | | NULL | |
+-------------+------------+------+-----+---------+-------+
6 rows in set (0,00 sec)
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2023-10-06 10:55:13 +02:00
< section id = "brw_files" >
< h3 > Table brw_files< / h3 >
< p align = "justify" >
Stores metadata about each file:
< / p >
< pre >
mysql> DESCRIBE brw_files;
2018-10-04 21:57:25 +02:00
+-----------------+---------------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
| Field | Type | Null | Key | Default | Extra |
+-----------------+---------------+------+-----+---------+----------------+
| FilCod | int(11) | NO | PRI | NULL | auto_increment |
| FileBrowser | tinyint(4) | NO | MUL | NULL | |
| Cod | int(11) | NO | | -1 | |
| ZoneUsrCod | int(11) | NO | MUL | -1 | |
| PublisherUsrCod | int(11) | NO | MUL | NULL | |
| FileType | tinyint(4) | NO | | 0 | |
| Path | text | NO | | NULL | |
| Hidden | enum('N','Y') | NO | | N | |
| Public | enum('N','Y') | NO | | N | |
| License | tinyint(4) | NO | | 0 | |
+-----------------+---------------+------+-----+---------+----------------+
10 rows in set (0,00 sec)
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2023-10-06 10:55:13 +02:00
< section id = "brw_last" >
< h3 > Table brw_last< / h3 >
< p align = "justify" >
Stores the last click of every user in each file browser zone:
< / p >
< pre >
mysql> DESCRIBE brw_last;
+-------------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+------------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
| FileBrowser | tinyint(4) | NO | PRI | NULL | |
| Cod | int(11) | NO | PRI | -1 | |
| LastClick | datetime | NO | | NULL | |
+-------------+------------+------+-----+---------+-------+
4 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "brw_sizes" >
< h3 > Table brw_sizes< / h3 >
< p align = "justify" >
Stores the sizes of the file zones:
< / p >
< pre >
mysql> DESCRIBE brw_sizes;
+-------------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+------------+------+-----+---------+-------+
| FileBrowser | tinyint(4) | NO | PRI | NULL | |
| Cod | int(11) | NO | PRI | -1 | |
| ZoneUsrCod | int(11) | NO | PRI | -1 | |
| NumLevels | int(11) | NO | | NULL | |
| NumFolders | int(11) | NO | | NULL | |
| NumFiles | int(11) | NO | | NULL | |
| TotalSize | bigint(20) | NO | | NULL | |
+-------------+------------+------+-----+---------+-------+
7 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "brw_views" >
< h3 > Table brw_views< / h3 >
< p align = "justify" >
Stores the number of times each user has seen each file:
< / p >
< pre >
mysql> DESCRIBE brw_views;
+----------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------+------+-----+---------+-------+
| FilCod | int(11) | NO | PRI | NULL | |
| UsrCod | int(11) | NO | PRI | NULL | |
| NumViews | int(11) | NO | | 0 | |
+----------+---------+------+-----+---------+-------+
3 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "cfe_exams" >
< h3 > Table cfe_exams< / h3 >
< p align = "justify" >
Stores the calls for exams:
< / p >
< pre >
mysql> DESCRIBE cfe_exams;
2014-12-02 20:43:32 +01:00
+-------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+---------------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
| ExaCod | int(11) | NO | PRI | NULL | auto_increment |
| CrsCod | int(11) | NO | MUL | -1 | |
| Status | tinyint(4) | NO | MUL | 0 | |
| NumNotif | int(11) | NO | | 0 | |
| CrsFullName | varchar(2047) | NO | | NULL | |
| Year | tinyint(4) | NO | | NULL | |
| ExamSession | varchar(2047) | NO | | NULL | |
| CallDate | datetime | NO | | NULL | |
| ExamDate | datetime | NO | | NULL | |
| Duration | time | NO | | NULL | |
| Place | text | NO | | NULL | |
| ExamMode | text | NO | | NULL | |
| Structure | text | NO | | NULL | |
| DocRequired | text | NO | | NULL | |
| MatRequired | text | NO | | NULL | |
| MatAllowed | text | NO | | NULL | |
| OtherInfo | text | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+-------------+---------------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
17 rows in set (0,00 sec)
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2023-10-06 10:55:13 +02:00
< section id = "cht_rooms" >
< h3 > Table cht_rooms< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stored number of users in each chat room (this table is not used now):
2014-12-02 20:43:32 +01:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE cht_rooms;
+----------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+-------------+------+-----+---------+-------+
| RoomCode | varchar(16) | NO | PRI | NULL | |
| NumUsrs | int(11) | NO | | NULL | |
+----------+-------------+------+-----+---------+-------+
2 rows in set (0,00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
2023-10-06 10:55:13 +02:00
< section id = "crs_courses" >
< h3 > Table crs_courses< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores the courses/subjects:
2014-12-02 20:43:32 +01:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE crs_courses;
+-----------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------------+---------------+------+-----+---------+----------------+
| CrsCod | int(11) | NO | PRI | NULL | auto_increment |
| DegCod | int(11) | NO | MUL | -1 | |
| Year | tinyint(4) | NO | | 0 | |
| InsCrsCod | char(7) | NO | | NULL | |
| Status | tinyint(4) | NO | MUL | 0 | |
| RequesterUsrCod | int(11) | NO | | -1 | |
| ShortName | varchar(511) | NO | | NULL | |
| FullName | varchar(2047) | NO | | NULL | |
| NumIndicators | int(11) | NO | | -1 | |
+-----------------+---------------+------+-----+---------+----------------+
9 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2023-10-06 10:55:13 +02:00
2018-10-04 21:57:25 +02:00
< section id = "crs_info_read" >
2014-12-02 20:43:32 +01:00
< h3 > Table crs_info_read< / h3 >
< p align = "justify" >
Stores the users who have read the information with mandatory reading:
< / p >
2023-10-06 10:55:13 +02:00
< pre style = "font-size:0.75em;" >
2014-12-02 20:43:32 +01:00
mysql> DESCRIBE crs_info_read;
+----------+--------------------------------------------------------------------------------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+--------------------------------------------------------------------------------------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| UsrCod | int(11) | NO | PRI | NULL | |
| CrsCod | int(11) | NO | PRI | NULL | |
| InfoType | enum('intro','description','theory','practices','bibliography','FAQ','links','assessment') | NO | PRI | NULL | |
2014-12-02 20:43:32 +01:00
+----------+--------------------------------------------------------------------------------------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
3 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "crs_info_src" >
2014-12-02 20:43:32 +01:00
< h3 > Table crs_info_src< / h3 >
< p align = "justify" >
Stores the sources of information in courses:
< / p >
2018-10-04 21:57:25 +02:00
< pre style = "font-size:0.75em;" >
2014-12-02 20:43:32 +01:00
mysql> DESCRIBE crs_info_src;
+------------+--------------------------------------------------------------------------------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+--------------------------------------------------------------------------------------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| CrsCod | int(11) | NO | PRI | -1 | |
| InfoType | enum('intro','description','theory','practices','bibliography','FAQ','links','assessment') | NO | PRI | NULL | |
| InfoSrc | enum('none','editor','plain_text','rich_text','page','URL') | NO | | NULL | |
| MustBeRead | enum('N','Y') | NO | | N | |
2014-12-02 20:43:32 +01:00
+------------+--------------------------------------------------------------------------------------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
4 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "crs_info_txt" >
2014-12-02 20:43:32 +01:00
< h3 > Table crs_info_txt< / h3 >
< p align = "justify" >
Stores the text content of information in courses:
< / p >
2018-10-04 21:57:25 +02:00
< pre style = "font-size:0.75em;" >
2014-12-02 20:43:32 +01:00
mysql> DESCRIBE crs_info_txt;
2018-10-04 21:57:25 +02:00
+-------------+--------------------------------------------------------------------------------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+--------------------------------------------------------------------------------------------+------+-----+---------+-------+
| CrsCod | int(11) | NO | PRI | -1 | |
| InfoType | enum('intro','description','theory','practices','bibliography','FAQ','links','assessment') | NO | PRI | NULL | |
| InfoTxtHTML | longtext | NO | | NULL | |
| InfoTxtMD | longtext | NO | | NULL | |
+-------------+--------------------------------------------------------------------------------------------+------+-----+---------+-------+
4 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "crs_last" >
2014-12-02 20:43:32 +01:00
< h3 > Table crs_last< / h3 >
< p align = "justify" >
Stores last access to courses from students or teachers:
< / p >
< pre >
2018-10-04 21:57:25 +02:00
mysql> DESCRIBE crs_last;
+----------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+----------+------+-----+---------+-------+
| CrsCod | int(11) | NO | PRI | NULL | |
| LastTime | datetime | NO | MUL | NULL | |
+----------+----------+------+-----+---------+-------+
2 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "crs_record_fields" >
2014-12-02 20:43:32 +01:00
< h3 > Table crs_record_fields< / h3 >
< p align = "justify" >
Stores the fields in the course records:
< / p >
< pre >
mysql> DESCRIBE crs_record_fields;
2018-10-04 21:57:25 +02:00
+------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+---------------+------+-----+---------+----------------+
| FieldCod | int(11) | NO | PRI | NULL | auto_increment |
| CrsCod | int(11) | NO | MUL | -1 | |
| FieldName | varchar(2047) | NO | | NULL | |
| NumLines | int(11) | NO | | NULL | |
| Visibility | tinyint(4) | NO | | NULL | |
+------------+---------------+------+-----+---------+----------------+
5 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "crs_records" >
2014-12-02 20:43:32 +01:00
< h3 > Table crs_records< / h3 >
< p align = "justify" >
Stores the contents of course records:
< / p >
< pre >
mysql> DESCRIBE crs_records;
+----------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| FieldCod | int(11) | NO | PRI | NULL | |
| UsrCod | int(11) | NO | PRI | NULL | |
| Txt | text | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+----------+---------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
3 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "crs_requests" >
< h3 > Table crs_requests< / h3 >
< p align = "justify" >
Stores requests for enrollment in courses:
< / p >
< pre >
mysql> DESCRIBE crs_requests;
+-------------+------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+------------+------+-----+---------+----------------+
| ReqCod | int(11) | NO | PRI | NULL | auto_increment |
| CrsCod | int(11) | NO | MUL | -1 | |
| UsrCod | int(11) | NO | MUL | NULL | |
| Role | tinyint(4) | NO | | 0 | |
| RequestTime | datetime | NO | | NULL | |
+-------------+------------+------+-----+---------+----------------+
5 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "crs_users" >
< h3 > Table crs_users< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores who users belong to what courses:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE crs_users;
+----------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------------+------+-----+---------+-------+
| CrsCod | int | NO | PRI | NULL | |
| UsrCod | int | NO | PRI | NULL | |
| Role | tinyint | NO | MUL | 0 | |
| Accepted | enum('N','Y') | NO | | N | |
+----------+---------------+------+-----+---------+-------+
4 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "crs_user_settings" >
< h3 > Table crs_user_settings< / h3 >
< p align = "justify" >
Stores last settings (preferences) of users in courses:
< / p >
< pre >
mysql> DESCRIBE crs_user_settings;
2018-10-04 21:57:25 +02:00
+----------------+---------------------------+------+-----+------------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------+---------------------------+------+-----+------------+-------+
2023-10-06 10:55:13 +02:00
| UsrCod | int | NO | PRI | NULL | |
| CrsCod | int | NO | PRI | NULL | |
| LastDowGrpCod | int | NO | | -1 | |
| LastComGrpCod | int | NO | | -1 | |
| LastAssGrpCod | int | NO | | -1 | |
| NumAccTst | int | NO | | 0 | |
2018-10-04 21:57:25 +02:00
| LastAccTst | datetime | NO | | NULL | |
2023-10-06 10:55:13 +02:00
| NumQstsLastTst | int | NO | | 0 | |
2018-10-04 21:57:25 +02:00
| UsrListType | enum('classphoto','list') | NO | | classphoto | |
2023-10-06 10:55:13 +02:00
| ColsClassPhoto | tinyint | NO | | NULL | |
2018-10-04 21:57:25 +02:00
| ListWithPhotos | enum('N','Y') | NO | | Y | |
+----------------+---------------------------+------+-----+------------+-------+
2023-10-06 10:55:13 +02:00
11 rows in set (0.01 sec)
2018-10-04 21:57:25 +02:00
< / pre >
2023-10-06 10:55:13 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "ctr_centers" >
< h3 > Table ctr_centers< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores centers (faculties, schools...):
2014-12-02 20:43:32 +01:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE ctr_centers;
+------------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------------+---------------+------+-----+---------+----------------+
| CtrCod | int(11) | NO | PRI | NULL | auto_increment |
| InsCod | int(11) | NO | MUL | NULL | |
| PlcCod | int(11) | NO | MUL | -1 | |
| Status | tinyint(4) | NO | MUL | 0 | |
| RequesterUsrCod | int(11) | NO | | -1 | |
| ShortName | varchar(511) | NO | | NULL | |
| FullName | varchar(2047) | NO | | NULL | |
| WWW | varchar(255) | NO | | NULL | |
| PhotoAttribution | text | NO | | NULL | |
+------------------+---------------+------+-----+---------+----------------+
9 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "cty_countrs" >
< h3 > Table cty_countrs< / h3 >
< p align = "justify" >
Stores the countries:
< / p >
< pre >
mysql> DESCRIBE cty_countrs;
+----------------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------+--------------+------+-----+---------+-------+
| CtyCod | int | NO | PRI | NULL | |
| Alpha2 | char(2) | NO | UNI | NULL | |
| MapAttribution | text | NO | | NULL | |
| Name_ca | varchar(767) | NO | MUL | NULL | |
| Name_de | varchar(767) | NO | MUL | NULL | |
| Name_en | varchar(767) | NO | MUL | NULL | |
| Name_es | varchar(767) | NO | MUL | NULL | |
| Name_fr | varchar(767) | NO | MUL | NULL | |
| Name_gn | varchar(767) | NO | MUL | NULL | |
| Name_it | varchar(767) | NO | MUL | NULL | |
| Name_pl | varchar(767) | NO | MUL | NULL | |
| Name_pt | varchar(767) | NO | MUL | NULL | |
| Name_tr | varchar(767) | NO | MUL | NULL | |
| WWW_ca | varchar(255) | NO | | NULL | |
| WWW_de | varchar(255) | NO | | NULL | |
| WWW_en | varchar(255) | NO | | NULL | |
| WWW_es | varchar(255) | NO | | NULL | |
| WWW_fr | varchar(255) | NO | | NULL | |
| WWW_gn | varchar(255) | NO | | NULL | |
| WWW_it | varchar(255) | NO | | NULL | |
| WWW_pl | varchar(255) | NO | | NULL | |
| WWW_pt | varchar(255) | NO | | NULL | |
| WWW_tr | varchar(255) | NO | | NULL | |
+----------------+--------------+------+-----+---------+-------+
23 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "dbg_debug" >
< h3 > Table dbg_debug< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Used for debugging purposes:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE dbg_debug;
2018-10-04 21:57:25 +02:00
+-----------+----------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+----------+------+-----+---------+----------------+
| DbgCod | int(11) | NO | PRI | NULL | auto_increment |
| DebugTime | datetime | NO | MUL | NULL | |
| Txt | text | NO | | NULL | |
+-----------+----------+------+-----+---------+----------------+
3 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "deg_degrees" >
< h3 > Table deg_degrees< / h3 >
< p align = "justify" >
Stores the degrees:
< / p >
< pre >
mysql> DESCRIBE deg_degrees;
2014-12-02 20:43:32 +01:00
+-----------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------------+---------------+------+-----+---------+----------------+
| DegCod | int(11) | NO | PRI | NULL | auto_increment |
| CtrCod | int(11) | NO | MUL | NULL | |
| DegTypCod | int(11) | NO | MUL | NULL | |
| Status | tinyint(4) | NO | MUL | 0 | |
| RequesterUsrCod | int(11) | NO | | -1 | |
2018-10-04 21:57:25 +02:00
| ShortName | varchar(511) | NO | | NULL | |
| FullName | varchar(2047) | NO | | NULL | |
2014-12-02 20:43:32 +01:00
| WWW | varchar(255) | NO | | NULL | |
+-----------------+---------------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
8 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "deg_types" >
< h3 > Table deg_types< / h3 >
< p align = "justify" >
Stores the types of degree:
< / p >
< pre >
mysql> DESCRIBE deg_types;
+------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+--------------+------+-----+---------+----------------+
| DegTypCod | int(11) | NO | PRI | NULL | auto_increment |
| DegTypName | varchar(511) | NO | | NULL | |
+------------+--------------+------+-----+---------+----------------+
2 rows in set (0,00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "dpt_departments" >
< h3 > Table dpt_departments< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the departments:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE dpt_departments;
2018-10-04 21:57:25 +02:00
+-----------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+----------------+
| DptCod | int(11) | NO | PRI | NULL | auto_increment |
| InsCod | int(11) | NO | MUL | NULL | |
| ShortName | varchar(511) | NO | | NULL | |
| FullName | varchar(2047) | NO | | NULL | |
| WWW | varchar(255) | NO | | NULL | |
+-----------+---------------+------+-----+---------+----------------+
5 rows in set (0,00 sec)
< / pre >
2023-10-06 10:55:13 +02:00
< / section >
< section id = "exa_exams" >
< h3 > Table exa_exams< / h3 >
< p align = "justify" >
Stores the exams:
< / p >
< pre >
mysql> DESCRIBE exa_exams;
+------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+---------------+------+-----+---------+----------------+
| ExaCod | int | NO | PRI | NULL | auto_increment |
| CrsCod | int | NO | MUL | -1 | |
| Hidden | enum('N','Y') | NO | | N | |
| UsrCod | int | NO | | NULL | |
| MaxGrade | double | NO | | 1 | |
| Visibility | int | NO | | 31 | |
| Title | varchar(2047) | NO | | NULL | |
| Txt | text | NO | | NULL | |
+------------+---------------+------+-----+---------+----------------+
8 rows in set (0.00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
2023-10-06 10:55:13 +02:00
< / section >
< section id = "exa_groups" >
< h3 > Table exa_groups< / h3 >
< p align = "justify" >
Stores the groups associated to each session in an exam:
< / p >
< pre >
mysql> DESCRIBE exa_groups;
+--------+------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+------+------+-----+---------+-------+
| SesCod | int | NO | PRI | NULL | |
| GrpCod | int | NO | PRI | NULL | |
+--------+------+------+-----+---------+-------+
2 rows in set (0.00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
2023-10-06 10:55:13 +02:00
< / section >
2018-10-04 21:57:25 +02:00
2023-10-06 10:55:13 +02:00
< section id = "exa_log" >
< h3 > Table exa_log< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores the access log to exam prints:
2018-10-04 21:57:25 +02:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE exa_log;
+-----------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+-------+
| LogCod | int | NO | PRI | NULL | |
| PrnCod | int | NO | MUL | NULL | |
| ActCod | int | NO | | NULL | |
| QstInd | int | NO | | -1 | |
| CanAnswer | enum('N','Y') | NO | | N | |
| ClickTime | datetime | NO | MUL | NULL | |
| IP | char(15) | NO | | NULL | |
+-----------+---------------+------+-----+---------+-------+
7 rows in set (0.00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "exa_log_sessions" >
< h3 > Table exa_log_sessions< / h3 >
< p align = "justify" >
Stores stores the session id fields for access log to exam prints:
< / p >
< pre >
mysql> DESCRIBE exa_log_sessions;
+-----------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+----------+------+-----+---------+-------+
| LogCod | int | NO | PRI | NULL | |
| PrnCod | int | NO | MUL | NULL | |
| SessionId | char(43) | NO | | NULL | |
+-----------+----------+------+-----+---------+-------+
3 rows in set (0.00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
2023-10-06 10:55:13 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "exa_log_user_agents" >
< h3 > Table exa_log_user_agents< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores the user agent fields for access log to exam prints:
2014-12-02 20:43:32 +01:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE exa_log_user_agents;
+-----------+------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+------+------+-----+---------+-------+
| LogCod | int | NO | PRI | NULL | |
| PrnCod | int | NO | MUL | NULL | |
| UserAgent | text | NO | | NULL | |
+-----------+------+------+-----+---------+-------+
3 rows in set (0.00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "exa_print_questions" >
< h3 > Table exa_print_questions< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores the questions and answers in exam prints made by users:
< / p >
< pre >
mysql> DESCRIBE exa_print_questions;
+---------+--------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------+--------+------+-----+---------+-------+
| PrnCod | int | NO | PRI | NULL | |
| QstCod | int | NO | PRI | NULL | |
| QstInd | int | NO | | NULL | |
| SetCod | int | NO | | NULL | |
| Score | double | NO | | 0 | |
| Indexes | text | NO | | NULL | |
| Answers | text | NO | | NULL | |
+---------+--------+------+-----+---------+-------+
7 rows in set (0.01 sec)
< / pre >
< / section >
< section id = "exa_prints" >
< h3 > Table exa_prints< / h3 >
< p align = "justify" >
Stores stores the exam prints of every exam session:
2014-12-02 20:43:32 +01:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE exa_prints;
2014-12-02 20:43:32 +01:00
+-----------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------------+---------------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
| PrnCod | int | NO | PRI | NULL | auto_increment |
| SesCod | int | NO | MUL | NULL | |
| UsrCod | int | NO | | NULL | |
| StartTime | datetime | NO | | NULL | |
| EndTime | datetime | NO | | NULL | |
| NumQsts | int | NO | | 0 | |
| NumQstsNotBlank | int | NO | | 0 | |
| Sent | enum('N','Y') | NO | | N | |
| Score | double | NO | | 0 | |
2014-12-02 20:43:32 +01:00
+-----------------+---------------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
9 rows in set (0.00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2023-10-06 10:55:13 +02:00
< section id = "exa_sessions" >
< h3 > Table exa_sessions< / h3 >
< p align = "justify" >
Stores the exam sessions:
< / p >
< pre >
mysql> DESCRIBE exa_sessions;
+----------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------+---------------+------+-----+---------+----------------+
| SesCod | int | NO | PRI | NULL | auto_increment |
| ExaCod | int | NO | MUL | NULL | |
| Hidden | enum('N','Y') | NO | | N | |
| UsrCod | int | NO | | NULL | |
| StartTime | datetime | NO | | NULL | |
| EndTime | datetime | NO | | NULL | |
| Title | varchar(2047) | NO | | NULL | |
| ShowUsrResults | enum('N','Y') | NO | | N | |
+----------------+---------------+------+-----+---------+----------------+
8 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "exa_set_answers" >
< h3 > Table exa_set_answers< / h3 >
< p align = "justify" >
Stores the answers of questions in exam sets:
< / p >
< pre >
mysql> DESCRIBE exa_set_answers;
+----------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------------+------+-----+---------+-------+
| QstCod | int | NO | PRI | NULL | |
| AnsInd | tinyint | NO | PRI | NULL | |
| Answer | text | NO | | NULL | |
| Feedback | text | NO | | NULL | |
| MedCod | int | NO | MUL | -1 | |
| Correct | enum('N','Y') | NO | | NULL | |
+----------+---------------+------+-----+---------+-------+
6 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "exa_set_questions" >
< h3 > Table exa_set_questions< / h3 >
< p align = "justify" >
Stores the questions in exam sets:
< / p >
< pre style = "font-size:0.75em;" >
mysql> DESCRIBE exa_set_questions;
+----------+---------------------------------------------------------------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------------------------------------------------------------------------+------+-----+---------+----------------+
| QstCod | int | NO | PRI | NULL | auto_increment |
| SetCod | int | NO | MUL | NULL | |
| Invalid | enum('N','Y') | NO | | N | |
| AnsType | enum('int','float','true_false','unique_choice','multiple_choice','text') | NO | | NULL | |
| Shuffle | enum('N','Y') | NO | | NULL | |
| Stem | text | NO | | NULL | |
| Feedback | text | NO | | NULL | |
| MedCod | int | NO | MUL | -1 | |
+----------+---------------------------------------------------------------------------+------+-----+---------+----------------+
8 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "exa_sets" >
< h3 > Table exa_sets< / h3 >
< p align = "justify" >
Stores the question sets in the exams:
< / p >
< pre >
mysql> DESCRIBE exa_sets;
+----------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------+---------------+------+-----+---------+----------------+
| SetCod | int | NO | PRI | NULL | auto_increment |
| ExaCod | int | NO | | NULL | |
| SetInd | int | NO | | NULL | |
| NumQstsToPrint | int | NO | | 0 | |
| Title | varchar(2047) | NO | | NULL | |
+----------------+---------------+------+-----+---------+----------------+
5 rows in set (0.01 sec)
< / pre >
< / section >
< section id = "fig_figures" >
< h3 > Table fig_figures< / h3 >
< p align = "justify" >
Stores cached figures for quick retrieval of figures (i.e. number of students in the platform):
< / p >
< pre style = "font-size:0.75em;" >
mysql> DESCRIBE fig_figures;
+-------------+-------------------------------------------+------+-----+-------------------+-----------------------------------------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+-------------------------------------------+------+-----+-------------------+-----------------------------------------------+
| Figure | int | NO | PRI | NULL | |
| Scope | enum('Sys','Cty','Ins','Ctr','Deg','Crs') | NO | PRI | Sys | |
| Cod | int | NO | PRI | -1 | |
| ValueInt | int | NO | | 0 | |
| ValueDouble | double | NO | | 0 | |
| LastUpdate | timestamp | NO | | CURRENT_TIMESTAMP | DEFAULT_GENERATED on update CURRENT_TIMESTAMP |
+-------------+-------------------------------------------+------+-----+-------------------+-----------------------------------------------+
6 rows in set (0.01 sec)
< / pre >
< / section >
< section id = "fir_banned" >
< h3 > Table fir_banned< / h3 >
< p align = "justify" >
Stores the banned IPs in order to mitigate denial of service attacks:
< / p >
< pre >
mysql> DESCRIBE fir_banned;
+-----------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+----------+------+-----+---------+-------+
| IP | char(15) | NO | MUL | NULL | |
| BanTime | datetime | NO | MUL | NULL | |
| UnbanTime | datetime | NO | MUL | NULL | |
+-----------+----------+------+-----+---------+-------+
3 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "fir_log" >
< h3 > Table fir_log< / h3 >
< p align = "justify" >
Stores the most recent IPs in order to mitigate denial of service attacks:
< / p >
< pre >
mysql> DESCRIBE fir_log;
+-----------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+----------+------+-----+---------+-------+
| ClickTime | datetime | NO | MUL | NULL | |
| IP | char(15) | NO | MUL | NULL | |
+-----------+----------+------+-----+---------+-------+
2 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "for_clipboards" >
< h3 > Table for_clipboards< / h3 >
< p align = "justify" >
Stores the clipboards used to move threads from one forum to another:
< / p >
< pre >
mysql> DESCRIBE for_clipboards;
+------------+-----------+------+-----+-------------------+-----------------------------+
| Field | Type | Null | Key | Default | Extra |
+------------+-----------+------+-----+-------------------+-----------------------------+
| ThrCod | int(11) | NO | PRI | NULL | |
| UsrCod | int(11) | NO | UNI | NULL | |
| TimeInsert | timestamp | NO | | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
+------------+-----------+------+-----+-------------------+-----------------------------+
3 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "for_disabled" >
< h3 > Table for_disabled< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores the forum posts that have been disabled:
2014-12-02 20:43:32 +01:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE for_disabled;
2014-12-02 20:43:32 +01:00
+-------------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+----------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| PstCod | int(11) | NO | PRI | NULL | |
| UsrCod | int(11) | NO | | NULL | |
| DisableTime | datetime | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+-------------+----------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
3 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "for_posts" >
< h3 > Table for_posts< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the forum posts:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE for_posts;
+-----------+----------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+----------+------+-----+---------+----------------+
| PstCod | int | NO | PRI | NULL | auto_increment |
| ThrCod | int | NO | MUL | NULL | |
| UsrCod | int | NO | MUL | NULL | |
| CreatTime | datetime | NO | MUL | NULL | |
| ModifTime | datetime | NO | MUL | NULL | |
| NumNotif | int | NO | | 0 | |
| Subject | text | NO | | NULL | |
| Content | longtext | NO | | NULL | |
| MedCod | int | NO | MUL | -1 | |
+-----------+----------+------+-----+---------+----------------+
9 rows in set (0.00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "for_read" >
< h3 > Table for_read< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the threads read by each user:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE for_read;
2018-10-04 21:57:25 +02:00
+----------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+----------+------+-----+---------+-------+
| ThrCod | int(11) | NO | PRI | NULL | |
| UsrCod | int(11) | NO | PRI | NULL | |
| ReadTime | datetime | NO | | NULL | |
+----------+----------+------+-----+---------+-------+
3 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "for_threads" >
< h3 > Table for_threads< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the forum threads:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE for_threads;
2014-12-02 20:43:32 +01:00
+-------------+------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+------------+------+-----+---------+----------------+
2018-10-04 21:57:25 +02:00
| ThrCod | int(11) | NO | PRI | NULL | auto_increment |
| ForumType | tinyint(4) | NO | MUL | NULL | |
| Location | int(11) | NO | MUL | -1 | |
| FirstPstCod | int(11) | NO | UNI | NULL | |
| LastPstCod | int(11) | NO | UNI | NULL | |
2014-12-02 20:43:32 +01:00
+-------------+------------+------+-----+---------+----------------+
2018-10-04 21:57:25 +02:00
5 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "gam_answers" >
< h3 > Table gam_answers< / h3 >
< p align = "justify" >
Stores the answers to the games:
< / p >
< pre >
mysql> DESCRIBE gam_answers;
+---------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------+------------+------+-----+---------+-------+
| GamCod | int(11) | NO | PRI | NULL | |
| QstCod | int(11) | NO | PRI | NULL | |
| AnsInd | tinyint(4) | NO | PRI | NULL | |
| NumUsrs | int(11) | NO | | 0 | |
+---------+------------+------+-----+---------+-------+
4 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "gam_games" >
< h3 > Table gam_games< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores the games:
2018-10-04 21:57:25 +02:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE gam_games;
+-----------+-------------------------------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+-------------------------------------------+------+-----+---------+----------------+
| GamCod | int(11) | NO | PRI | NULL | auto_increment |
| Scope | enum('Sys','Cty','Ins','Ctr','Deg','Crs') | NO | MUL | Sys | |
| Cod | int(11) | NO | | -1 | |
| Hidden | enum('N','Y') | NO | | N | |
| NumNotif | int(11) | NO | | 0 | |
| Roles | int(11) | NO | | 0 | |
| UsrCod | int(11) | NO | | NULL | |
| StartTime | datetime | NO | | NULL | |
| EndTime | datetime | NO | | NULL | |
| Title | varchar(2047) | NO | | NULL | |
| Txt | text | NO | | NULL | |
+-----------+-------------------------------------------+------+-----+---------+----------------+
11 rows in set (0,00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
< section id = "gam_questions" >
< h3 > Table gam_questions< / h3 >
< p align = "justify" >
Stores the questions in the games:
< / p >
< pre >
mysql> DESCRIBE gam_questions;
+--------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------+------+-----+---------+-------+
| GamCod | int(11) | NO | MUL | NULL | |
| QstCod | int(11) | NO | MUL | NULL | |
| QstInd | int(11) | NO | | 0 | |
+--------+---------+------+-----+---------+-------+
3 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "grp_groups" >
< h3 > Table grp_groups< / h3 >
< p align = "justify" >
Stores the groups in courses:
< / p >
< pre >
mysql> DESCRIBE grp_groups;
+-------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+---------------+------+-----+---------+----------------+
| GrpCod | int | NO | PRI | NULL | auto_increment |
| GrpTypCod | int | NO | MUL | NULL | |
| GrpName | varchar(2047) | NO | | NULL | |
| RooCod | int | NO | MUL | -1 | |
| MaxStudents | int | NO | | NULL | |
| Open | enum('N','Y') | NO | | N | |
| FileZones | enum('N','Y') | NO | | N | |
+-------------+---------------+------+-----+---------+----------------+
7 rows in set (0.01 sec)
< / pre >
< / section >
< section id = "grp_types" >
< h3 > Table grp_types< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores the types of groups in courses:
2018-10-04 21:57:25 +02:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE grp_types;
+--------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------+---------------+------+-----+---------+----------------+
| GrpTypCod | int | NO | PRI | NULL | auto_increment |
| CrsCod | int | NO | MUL | -1 | |
| GrpTypName | varchar(2047) | NO | | NULL | |
| Mandatory | enum('N','Y') | NO | | NULL | |
| Multiple | enum('N','Y') | NO | | NULL | |
| MustBeOpened | enum('N','Y') | NO | | N | |
| OpenTime | datetime | NO | | NULL | |
+--------------+---------------+------+-----+---------+----------------+
7 rows in set (0.01 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "grp_users" >
< h3 > Table grp_users< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores the users beloging to each group:
2018-10-04 21:57:25 +02:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE grp_users;
+--------+------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+------+------+-----+---------+-------+
| GrpCod | int | NO | PRI | NULL | |
| UsrCod | int | NO | PRI | NULL | |
+--------+------+------+-----+---------+-------+
2 rows in set (0.01 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "hld_holidays" >
< h3 > Table hld_holidays< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the holidays in each institution:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE hld_holidays;
2018-10-04 21:57:25 +02:00
+-----------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+----------------+
| HldCod | int(11) | NO | PRI | NULL | auto_increment |
| InsCod | int(11) | NO | MUL | NULL | |
| PlcCod | int(11) | NO | MUL | -1 | |
| HldTyp | tinyint(4) | NO | | NULL | |
| StartDate | date | NO | | NULL | |
| EndDate | date | NO | | NULL | |
| Name | varchar(2047) | NO | | NULL | |
+-----------+---------------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
7 rows in set (0,00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "ins_instits" >
< h3 > Table ins_instits< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the institutions (for example, universities):
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE ins_instits;
2018-10-04 21:57:25 +02:00
+-----------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------------+---------------+------+-----+---------+----------------+
| InsCod | int(11) | NO | PRI | NULL | auto_increment |
| CtyCod | int(11) | NO | MUL | NULL | |
| Status | tinyint(4) | NO | MUL | 0 | |
| RequesterUsrCod | int(11) | NO | | -1 | |
| ShortName | varchar(511) | NO | | NULL | |
| FullName | varchar(2047) | NO | | NULL | |
| WWW | varchar(255) | NO | | NULL | |
+-----------------+---------------+------+-----+---------+----------------+
7 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "lnk_links" >
< h3 > Table lnk_links< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the global institutional links shown on right part of page:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE lnk_links;
2018-10-04 21:57:25 +02:00
+-----------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+----------------+
| LnkCod | int(11) | NO | PRI | NULL | auto_increment |
| ShortName | varchar(511) | NO | | NULL | |
| FullName | varchar(2047) | NO | | NULL | |
| WWW | varchar(255) | NO | | NULL | |
+-----------+---------------+------+-----+---------+----------------+
4 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "log" >
< h3 > Table log< / h3 >
< p align = "justify" >
Stores the log of all clicks:
< / p >
< pre >
mysql> DESCRIBE log;
+----------------+------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------+------------+------+-----+---------+----------------+
| LogCod | int(11) | NO | PRI | NULL | auto_increment |
| ActCod | int(11) | NO | MUL | -1 | |
| CtyCod | int(11) | NO | MUL | -1 | |
| InsCod | int(11) | NO | MUL | -1 | |
| CtrCod | int(11) | NO | MUL | -1 | |
| DegCod | int(11) | NO | MUL | -1 | |
| CrsCod | int(11) | NO | MUL | -1 | |
| UsrCod | int(11) | NO | MUL | -1 | |
| Role | tinyint(4) | NO | | NULL | |
| ClickTime | datetime | NO | MUL | NULL | |
| TimeToGenerate | int(11) | NO | | NULL | |
| TimeToSend | int(11) | NO | | NULL | |
| IP | char(15) | NO | | NULL | |
+----------------+------------+------+-----+---------+----------------+
13 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "log_api" >
< h3 > Table log_api< / h3 >
< p align = "justify" >
Stores the log of calls to API (web service) from plugins:
< / p >
< pre >
mysql> DESCRIBE log_api;
+--------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------+------+-----+---------+-------+
| LogCod | int(11) | NO | PRI | NULL | |
| PlgCod | int(11) | NO | MUL | NULL | |
| FunCod | int(11) | NO | MUL | NULL | |
+--------+---------+------+-----+---------+-------+
3 rows in set (0,00 sec)
< / pre >
< / section >
2018-10-04 21:57:25 +02:00
< section id = "log_banners" >
2014-12-02 20:43:32 +01:00
< h3 > Table log_banners< / h3 >
< p align = "justify" >
Stores the log of clicked banners:
< / p >
< pre >
mysql> DESCRIBE log_banners;
+--------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| LogCod | int(11) | NO | PRI | NULL | |
| BanCod | int(11) | NO | MUL | NULL | |
2014-12-02 20:43:32 +01:00
+--------+---------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
2 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "log_comments" >
< h3 > Table log_comments< / h3 >
< p align = "justify" >
Stores the comments about errors associated to the log:
< / p >
< pre >
mysql> DESCRIBE log_comments;
+----------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------+------+-----+---------+-------+
| LogCod | int(11) | NO | PRI | NULL | |
| Comments | text | NO | | NULL | |
+----------+---------+------+-----+---------+-------+
2 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "log_recent" >
2014-12-02 20:43:32 +01:00
< h3 > Table log_recent< / h3 >
< p align = "justify" >
Stores the log of the most recent clicks, used to speed up queries related to log:
< / p >
< pre >
mysql> DESCRIBE log_recent;
+----------------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------+------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| LogCod | int(11) | NO | PRI | NULL | |
| ActCod | int(11) | NO | MUL | -1 | |
| CtyCod | int(11) | NO | MUL | -1 | |
| InsCod | int(11) | NO | MUL | -1 | |
| CtrCod | int(11) | NO | MUL | -1 | |
| DegCod | int(11) | NO | MUL | -1 | |
| CrsCod | int(11) | NO | MUL | -1 | |
| UsrCod | int(11) | NO | MUL | -1 | |
| Role | tinyint(4) | NO | | NULL | |
| ClickTime | datetime | NO | MUL | NULL | |
| TimeToGenerate | int(11) | NO | | NULL | |
| TimeToSend | int(11) | NO | | NULL | |
| IP | char(15) | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+----------------+------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
13 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "log_search" >
< h3 > Table log_search< / h3 >
< p align = "justify" >
Stores the log of search strings:
< / p >
< pre >
mysql> DESCRIBE log_search;
+-----------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+-------+
| LogCod | int(11) | NO | PRI | NULL | |
| SearchStr | varchar(2047) | NO | | NULL | |
+-----------+---------------+------+-----+---------+-------+
2 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "mch_answers" >
< h3 > Table mch_answers< / h3 >
< p align = "justify" >
Stores the users' answers to the matches:
< / p >
< pre >
mysql> DESCRIBE mch_answers;
2014-12-02 20:43:32 +01:00
+--------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------+------+-----+---------+-------+
2023-10-06 10:55:13 +02:00
| MchCod | int | NO | PRI | NULL | |
| UsrCod | int | NO | PRI | NULL | |
| QstInd | int | NO | PRI | NULL | |
| NumOpt | tinyint | NO | | NULL | |
| AnsInd | tinyint | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+--------+---------+------+-----+---------+-------+
2023-10-06 10:55:13 +02:00
5 rows in set (0.00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
2023-10-06 10:55:13 +02:00
< / section >
< section id = "mch_groups" >
< h3 > Table mch_groups< / h3 >
< p align = "justify" >
Stores the groups associated to each match in a game:
< / p >
< pre >
mysql> DESCRIBE mch_groups;
+--------+------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+------+------+-----+---------+-------+
| MchCod | int | NO | PRI | NULL | |
| GrpCod | int | NO | PRI | NULL | |
+--------+------+------+-----+---------+-------+
2 rows in set (0.00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
2023-10-06 10:55:13 +02:00
< / section >
< section id = "mch_indexes" >
< h3 > Table mch_indexes< / h3 >
< p align = "justify" >
Stores the order of answers in a match:
< / p >
< pre >
mysql> DESCRIBE mch_indexes;
+---------+------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------+------+------+-----+---------+-------+
| MchCod | int | NO | PRI | NULL | |
| QstInd | int | NO | PRI | NULL | |
| Indexes | text | NO | | NULL | |
+---------+------+------+-----+---------+-------+
3 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "mch_matches" >
< h3 > Table mch_matches< / h3 >
< p align = "justify" >
Stores the matches (games instances) already played:
< / p >
< pre >
mysql> DESCRIBE mch_matches;
+----------------+------------------------------------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------+------------------------------------------------+------+-----+---------+----------------+
| MchCod | int | NO | PRI | NULL | auto_increment |
| GamCod | int | NO | MUL | NULL | |
| UsrCod | int | NO | | NULL | |
| StartTime | datetime | NO | | NULL | |
| EndTime | datetime | NO | | NULL | |
| Title | varchar(2047) | NO | | NULL | |
| QstInd | int | NO | | 0 | |
| QstCod | int | NO | | -1 | |
| Showing | enum('start','stem','answers','results','end') | NO | | start | |
| Countdown | int | NO | | -1 | |
| NumCols | int | NO | | 1 | |
| ShowQstResults | enum('N','Y') | NO | | N | |
| ShowUsrResults | enum('N','Y') | NO | | N | |
+----------------+------------------------------------------------+------+-----+---------+----------------+
13 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "mch_players" >
< h3 > Table mch_players< / h3 >
< p align = "justify" >
Stores the current match players:
< / p >
< pre >
mysql> DESCRIBE mch_players;
+--------+-----------+------+-----+-------------------+-----------------------------------------------+
| Field | Type | Null | Key | Default | Extra |
+--------+-----------+------+-----+-------------------+-----------------------------------------------+
| MchCod | int | NO | PRI | NULL | |
| UsrCod | int | NO | PRI | NULL | |
| TS | timestamp | NO | | CURRENT_TIMESTAMP | DEFAULT_GENERATED on update CURRENT_TIMESTAMP |
+--------+-----------+------+-----+-------------------+-----------------------------------------------+
3 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "mch_playing" >
< h3 > Table mch_playing< / h3 >
< p align = "justify" >
Stores the current matches being played:
< / p >
< pre >
mysql> DESCRIBE mch_playing;
+--------+-----------+------+-----+-------------------+-----------------------------------------------+
| Field | Type | Null | Key | Default | Extra |
+--------+-----------+------+-----+-------------------+-----------------------------------------------+
| MchCod | int | NO | PRI | NULL | |
| TS | timestamp | NO | | CURRENT_TIMESTAMP | DEFAULT_GENERATED on update CURRENT_TIMESTAMP |
+--------+-----------+------+-----+-------------------+-----------------------------------------------+
2 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "mch_results" >
< h3 > Table mch_results< / h3 >
< p align = "justify" >
Stores match results:
< / p >
< pre >
mysql> DESCRIBE mch_results;
+-----------------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------------+----------+------+-----+---------+-------+
| MchCod | int | NO | PRI | NULL | |
| UsrCod | int | NO | PRI | NULL | |
| StartTime | datetime | NO | | NULL | |
| EndTime | datetime | NO | | NULL | |
| NumQsts | int | NO | | 0 | |
| NumQstsNotBlank | int | NO | | 0 | |
| Score | double | NO | | 0 | |
+-----------------+----------+------+-----+---------+-------+
7 rows in set (0.01 sec)
< / pre >
< / section >
< section id = "mch_times" >
< h3 > Table mch_times< / h3 >
< p align = "justify" >
Stores the elapsed time in every question in every match played:
< / p >
< pre >
mysql> DESCRIBE mch_times;
+-------------+------+------+-----+----------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+------+------+-----+----------+-------+
| MchCod | int | NO | PRI | NULL | |
| QstInd | int | NO | PRI | NULL | |
| ElapsedTime | time | NO | | 00:00:00 | |
+-------------+------+------+-----+----------+-------+
3 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "med_media" >
< h3 > Table med_media< / h3 >
< p align = "justify" >
Stores information about media (images, videos, YouTube):
< / p >
< pre style = "font-size:0.75em;" >
mysql> DESCRIBE med_media;
+--------+---------------------------------------------------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------------------------------------------------------------+------+-----+---------+----------------+
| MedCod | int(11) | NO | PRI | NULL | auto_increment |
| Type | enum('none','jpg','gif','mp4','webm','ogg','youtube','embed') | NO | MUL | none | |
| Name | varchar(43) | NO | | | |
| URL | varchar(255) | NO | | | |
| Title | varchar(2047) | NO | | | |
+--------+---------------------------------------------------------------+------+-----+---------+----------------+
5 rows in set (0.01 sec)
< / pre >
< / section >
< section id = "mrk_marks" >
< h3 > Table mrk_marks< / h3 >
< p align = "justify" >
Stores information about files of marks:
< / p >
< pre >
mysql> DESCRIBE mrk_marks;
2018-10-04 21:57:25 +02:00
+--------+---------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------+------+-----+---------+----------------+
| FilCod | int(11) | NO | PRI | NULL | auto_increment |
| Header | int(11) | NO | | NULL | |
| Footer | int(11) | NO | | NULL | |
+--------+---------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
3 rows in set (0,00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
2023-10-06 10:55:13 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "msg_banned" >
2014-12-02 20:43:32 +01:00
< h3 > Table msg_banned< / h3 >
< p align = "justify" >
Stores the users whose messages are banned (FromUsrCod is a recipien banned from ToUsrCod):
< / p >
< pre >
mysql> DESCRIBE msg_banned;
+------------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+---------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| FromUsrCod | int(11) | NO | PRI | NULL | |
| ToUsrCod | int(11) | NO | PRI | NULL | |
2014-12-02 20:43:32 +01:00
+------------+---------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
2 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "msg_content" >
2014-12-02 20:43:32 +01:00
< h3 > Table msg_content< / h3 >
< p align = "justify" >
Stores the content of the sent messages:
< / p >
< pre >
mysql> DESCRIBE msg_content;
2023-10-06 10:55:13 +02:00
+---------+----------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+---------+----------+------+-----+---------+----------------+
| MsgCod | int | NO | PRI | NULL | auto_increment |
| Subject | text | NO | MUL | NULL | |
| Content | longtext | NO | | NULL | |
| MedCod | int | NO | MUL | -1 | |
+---------+----------+------+-----+---------+----------------+
4 rows in set (0.01 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "msg_content_deleted" >
2014-12-02 20:43:32 +01:00
< h3 > Table msg_content_deleted< / h3 >
< p align = "justify" >
Stores the content of the sent messages that have been deleted:
< / p >
< pre >
mysql> DESCRIBE msg_content_deleted;
2023-10-06 10:55:13 +02:00
+---------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------+----------+------+-----+---------+-------+
| MsgCod | int | NO | PRI | NULL | |
| Subject | text | NO | MUL | NULL | |
| Content | longtext | NO | | NULL | |
| MedCod | int | NO | MUL | -1 | |
+---------+----------+------+-----+---------+-------+
4 rows in set (0.00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "msg_rcv" >
2014-12-02 20:43:32 +01:00
< h3 > Table msg_rcv< / h3 >
< p align = "justify" >
Stores the received messages:
< / p >
< pre >
mysql> DESCRIBE msg_rcv;
+----------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| MsgCod | int(11) | NO | PRI | NULL | |
| UsrCod | int(11) | NO | PRI | NULL | |
| Notified | enum('N','Y') | NO | MUL | N | |
| Open | enum('N','Y') | NO | | N | |
| Replied | enum('N','Y') | NO | | N | |
| Expanded | enum('N','Y') | NO | | N | |
2014-12-02 20:43:32 +01:00
+----------+---------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
6 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "msg_rcv_deleted" >
2014-12-02 20:43:32 +01:00
< h3 > Table msg_rcv_deleted< / h3 >
< p align = "justify" >
Stores the received messages that have been deleted:
< / p >
< pre >
mysql> DESCRIBE msg_rcv_deleted;
+----------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| MsgCod | int(11) | NO | PRI | NULL | |
| UsrCod | int(11) | NO | PRI | NULL | |
| Notified | enum('N','Y') | NO | MUL | N | |
| Open | enum('N','Y') | NO | | N | |
| Replied | enum('N','Y') | NO | | N | |
2014-12-02 20:43:32 +01:00
+----------+---------------+------+-----+---------+-------+
2023-10-06 10:55:13 +02:00
5 rows in set (0,00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "msg_snt" >
2014-12-02 20:43:32 +01:00
< h3 > Table msg_snt< / h3 >
< p align = "justify" >
Stores the sent messages:
< / p >
< pre >
mysql> DESCRIBE msg_snt;
2018-10-04 21:57:25 +02:00
+-----------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+-------+
| MsgCod | int(11) | NO | PRI | NULL | |
| CrsCod | int(11) | NO | MUL | -1 | |
| UsrCod | int(11) | NO | MUL | NULL | |
| Expanded | enum('N','Y') | NO | | N | |
| CreatTime | datetime | NO | | NULL | |
+-----------+---------------+------+-----+---------+-------+
2023-10-06 10:55:13 +02:00
5 rows in set (0,00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "msg_snt_deleted" >
2014-12-02 20:43:32 +01:00
< h3 > Table msg_snt_deleted< / h3 >
< p align = "justify" >
Stores the sent messages that have been deleted:
< / p >
< pre >
mysql> DESCRIBE msg_snt_deleted;
+-----------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+----------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| MsgCod | int(11) | NO | PRI | NULL | |
| CrsCod | int(11) | NO | MUL | -1 | |
| UsrCod | int(11) | NO | MUL | NULL | |
| CreatTime | datetime | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+-----------+----------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
4 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "not_deleted" >
< h3 > Table not_deleted< / h3 >
< p align = "justify" >
Stores the yellow notes (post-it) that have been deleted:
< / p >
< pre >
mysql> DESCRIBE not_deleted;
+-----------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+----------+------+-----+---------+-------+
| NotCod | int(11) | NO | PRI | NULL | |
| CrsCod | int(11) | NO | MUL | -1 | |
| UsrCod | int(11) | NO | MUL | NULL | |
| CreatTime | datetime | NO | MUL | NULL | |
| Content | text | NO | | NULL | |
| NumNotif | int(11) | NO | | 0 | |
+-----------+----------+------+-----+---------+-------+
6 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "not_notices" >
< h3 > Table not_notices< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the yellow notes (post-it):
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE not_notices;
2014-12-02 20:43:32 +01:00
+-----------+------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+------------+------+-----+---------+----------------+
2018-10-04 21:57:25 +02:00
| NotCod | int(11) | NO | PRI | NULL | auto_increment |
| CrsCod | int(11) | NO | MUL | -1 | |
| UsrCod | int(11) | NO | MUL | NULL | |
| CreatTime | datetime | NO | MUL | NULL | |
| Content | text | NO | | NULL | |
| Status | tinyint(4) | NO | MUL | 0 | |
| NumNotif | int(11) | NO | | 0 | |
2014-12-02 20:43:32 +01:00
+-----------+------------+------+-----+---------+----------------+
2018-10-04 21:57:25 +02:00
7 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "ntf_mail_domains" >
< h3 > Table ntf_mail_domains< / h3 >
< p align = "justify" >
Stores e-mail domains to which sending of notifications is allowed:
< / p >
< pre >
mysql> DESCRIBE ntf_mail_domains;
+--------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------------+------+-----+---------+----------------+
| MaiCod | int(11) | NO | PRI | NULL | auto_increment |
| Domain | varchar(255) | NO | UNI | NULL | |
| Info | varchar(2047) | NO | | NULL | |
+--------+---------------+------+-----+---------+----------------+
3 rows in set (0,00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
2023-10-06 10:55:13 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "ntf_notifications" >
< h3 > Table ntf_notifications< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the notifications of events:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE ntf_notifications;
2014-12-02 20:43:32 +01:00
+-------------+------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+------------+------+-----+---------+----------------+
2018-10-04 21:57:25 +02:00
| NtfCod | int(11) | NO | PRI | NULL | auto_increment |
| NotifyEvent | tinyint(4) | NO | MUL | NULL | |
| ToUsrCod | int(11) | NO | MUL | NULL | |
| FromUsrCod | int(11) | NO | | NULL | |
| InsCod | int(11) | NO | | -1 | |
| CtrCod | int(11) | NO | | -1 | |
| DegCod | int(11) | NO | | -1 | |
| CrsCod | int(11) | NO | | -1 | |
| Cod | int(11) | NO | | -1 | |
| TimeNotif | datetime | NO | MUL | NULL | |
| Status | tinyint(4) | NO | | 0 | |
2014-12-02 20:43:32 +01:00
+-------------+------------+------+-----+---------+----------------+
2018-10-04 21:57:25 +02:00
11 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "plc_places" >
< h3 > Table plc_places< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the places associated to each institution, used in holidays:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE plc_places;
2018-10-04 21:57:25 +02:00
+-----------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+----------------+
| PlcCod | int(11) | NO | PRI | NULL | auto_increment |
| InsCod | int(11) | NO | MUL | NULL | |
| ShortName | varchar(511) | NO | | NULL | |
| FullName | varchar(2047) | NO | | NULL | |
+-----------+---------------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
4 rows in set (0,00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "plg_plugins" >
< h3 > Table plg_plugins< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the plugins:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE plg_plugins;
2018-10-04 21:57:25 +02:00
+-------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+---------------+------+-----+---------+----------------+
| PlgCod | int(11) | NO | PRI | NULL | auto_increment |
| Name | varchar(511) | NO | | NULL | |
| Description | varchar(2047) | NO | | NULL | |
| Logo | varchar(31) | NO | | NULL | |
| AppKey | varchar(31) | NO | | NULL | |
| URL | varchar(255) | NO | | NULL | |
| IP | char(15) | NO | | NULL | |
+-------------+---------------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
7 rows in set (0,00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "prg_items" >
< h3 > Table prg_items< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores the items of the course program:
2018-10-04 21:57:25 +02:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE prg_items;
+-----------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+----------------+
| ItmCod | int | NO | PRI | NULL | auto_increment |
| CrsCod | int | NO | MUL | -1 | |
| ItmInd | int | NO | | 0 | |
| Level | int | NO | | 1 | |
| Hidden | enum('N','Y') | NO | | N | |
| UsrCod | int | NO | | NULL | |
| StartTime | datetime | NO | | NULL | |
| EndTime | datetime | NO | | NULL | |
| Title | varchar(2047) | NO | | NULL | |
| Txt | text | NO | | NULL | |
+-----------+---------------+------+-----+---------+----------------+
10 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "prj_config" >
< h3 > Table prj_config< / h3 >
< p align = "justify" >
Stores the configuration of projects for each course:
< / p >
< pre >
mysql> DESCRIBE prj_config;
+----------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------------+------+-----+---------+-------+
| CrsCod | int | NO | PRI | -1 | |
| Editable | enum('N','Y') | NO | | Y | |
+----------+---------------+------+-----+---------+-------+
2 rows in set (0.01 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "prj_projects" >
< h3 > Table prj_projects< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
Stores the projects proposed by the teachers to their students:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE prj_projects;
2018-10-04 21:57:25 +02:00
+-------------+-------------------------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+-------------------------------------+------+-----+---------+----------------+
| PrjCod | int(11) | NO | PRI | NULL | auto_increment |
| CrsCod | int(11) | NO | MUL | -1 | |
| DptCod | int(11) | NO | | -1 | |
| Hidden | enum('N','Y') | NO | | N | |
| Preassigned | enum('N','Y') | NO | | N | |
| NumStds | int(11) | NO | | 1 | |
| Proposal | enum('new','modified','unmodified') | NO | | new | |
| CreatTime | datetime | NO | | NULL | |
| ModifTime | datetime | NO | | NULL | |
| Title | varchar(2047) | NO | | NULL | |
| Description | text | NO | | NULL | |
| Knowledge | text | NO | | NULL | |
| Materials | text | NO | | NULL | |
| URL | varchar(255) | NO | | NULL | |
+-------------+-------------------------------------+------+-----+---------+----------------+
14 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "prj_users" >
< h3 > Table prj_users< / h3 >
< p align = "justify" >
Stores the users inside projects:
< / p >
< pre >
mysql> DESCRIBE prj_users;
+---------------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------------+------------+------+-----+---------+-------+
| PrjCod | int(11) | NO | PRI | NULL | |
| RoleInProject | tinyint(4) | NO | PRI | 0 | |
| UsrCod | int(11) | NO | PRI | NULL | |
+---------------+------------+------+-----+---------+-------+
3 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "roo_check_in" >
< h3 > Table roo_check_in< / h3 >
< p align = "justify" >
Stores the history of locations of users:
< / p >
< pre >
mysql> DESCRIBE roo_check_in;
+-------------+----------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+----------+------+-----+---------+----------------+
| ChkCod | int | NO | PRI | NULL | auto_increment |
| UsrCod | int | NO | MUL | NULL | |
| RooCod | int | NO | | NULL | |
| CheckInTime | datetime | NO | MUL | NULL | |
+-------------+----------+------+-----+---------+----------------+
4 rows in set (0.01 sec)
< / pre >
< / section >
< section id = "roo_macs" >
< h3 > Table roo_macs< / h3 >
< p align = "justify" >
Stores the associations between rooms and MAC addresses:
< / p >
< pre >
mysql> DESCRIBE roo_macs;
+--------+--------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------+--------+------+-----+---------+----------------+
| RooCod | int | NO | PRI | NULL | auto_increment |
| MAC | bigint | NO | PRI | NULL | |
+--------+--------+------+-----+---------+----------------+
2 rows in set (0.01 sec)
< / pre >
< / section >
< section id = "roo_rooms" >
< h3 > Table roo_rooms< / h3 >
< p align = "justify" >
Stores the rooms associated to each center:
< / p >
< pre style = "font-size:0.25em;" >
mysql> DESCRIBE roo_rooms;
+-----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-----+---------+----------------+
| RooCod | int | NO | PRI | NULL | auto_increment |
| CtrCod | int | NO | MUL | NULL | |
| BldCod | int | NO | | -1 | |
| Floor | int | NO | | 0 | |
| Type | enum('no_type','administration','auditorium','cafeteria','canteen','classroom','concierge','corridor','gym','hall','kindergarten','laboratory','library','office','outdoors','parking','pavilion','room','secretariat','seminar','shop','store','toilets','virtual','yard') | NO | | no_type | |
| ShortName | varchar(511) | NO | | NULL | |
| FullName | varchar(2047) | NO | | NULL | |
| Capacity | int | NO | | NULL | |
+-----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-----+---------+----------------+
8 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "ses_params" >
< h3 > Table ses_params< / h3 >
< p align = "justify" >
Stores some session parameters passed from a page to another using database instead of forms:
< / p >
< pre >
mysql> DESCRIBE ses_params;
+------------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+--------------+------+-----+---------+-------+
| SessionId | char(43) | NO | MUL | NULL | |
| Action | int(11) | NO | | NULL | |
| ParamName | varchar(255) | NO | | NULL | |
| ParamValue | longtext | NO | | NULL | |
+------------+--------------+------+-----+---------+-------+
4 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "ses_sessions" >
< h3 > Table ses_sessions< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the information of open sessions:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE ses_sessions;
2018-10-04 21:57:25 +02:00
+----------------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------+---------------+------+-----+---------+-------+
| SessionId | char(43) | NO | PRI | NULL | |
| UsrCod | int(11) | NO | MUL | NULL | |
| Password | char(86) | NO | | NULL | |
| Role | tinyint(4) | NO | | 0 | |
| CtyCod | int(11) | NO | | -1 | |
| InsCod | int(11) | NO | | -1 | |
| CtrCod | int(11) | NO | | -1 | |
| DegCod | int(11) | NO | | -1 | |
| CrsCod | int(11) | NO | | -1 | |
| LastTime | datetime | NO | | NULL | |
| LastRefresh | datetime | NO | | NULL | |
| FirstPubCod | bigint(20) | NO | | 0 | |
| LastPubCod | bigint(20) | NO | | 0 | |
| LastPageMsgRcv | int(11) | NO | | 1 | |
| LastPageMsgSnt | int(11) | NO | | 1 | |
| WhatToSearch | tinyint(4) | NO | | 0 | |
| SearchStr | varchar(2047) | NO | | | |
| SideCols | tinyint(4) | NO | | 3 | |
+----------------+---------------+------+-----+---------+-------+
18 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "set_ip_settings" >
< h3 > Table set_ip_settings< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores user's settings (preferences) for each IP address:
2018-10-04 21:57:25 +02:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE set_ip_settings;
+----------------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------+------------+------+-----+---------+-------+
| IP | char(15) | NO | PRI | NULL | |
| UsrCod | int(11) | NO | MUL | -1 | |
| LastChange | datetime | NO | MUL | NULL | |
| FirstDayOfWeek | tinyint(4) | NO | | 0 | |
| DateFormat | tinyint(4) | NO | | 0 | |
| Theme | char(16) | NO | | NULL | |
| IconSet | char(16) | NO | | NULL | |
| Menu | tinyint(4) | NO | | 0 | |
| SideCols | tinyint(4) | NO | | NULL | |
+----------------+------------+------+-----+---------+-------+
9 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "sta_degrees" >
< h3 > Table sta_degrees< / h3 >
< p align = "justify" >
Stores statistics about degrees:
< / p >
< pre >
mysql> DESCRIBE sta_degrees;
+-----------------------+---------------------------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------------------+---------------------------------------+------+-----+---------+-------+
| DegCod | int(11) | NO | PRI | -1 | |
| Sex | enum('unknown','female','male','all') | NO | PRI | all | |
| NumStds | int(11) | NO | | NULL | |
| NumStdsWithPhoto | int(11) | NO | | NULL | |
| TimeAvgPhoto | datetime | NO | | NULL | |
| TimeToComputeAvgPhoto | int(11) | NO | | -1 | |
+-----------------------+---------------------------------------+------+-----+---------+-------+
6 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "sta_notifications" >
< h3 > Table sta_notifications< / h3 >
< p align = "justify" >
Stores statistics about notifications: number of notified events and number of e-mails sent:
< / p >
< pre >
mysql> DESCRIBE sta_notifications;
+-------------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+------------+------+-----+---------+-------+
| DegCod | int(11) | NO | PRI | NULL | |
| CrsCod | int(11) | NO | PRI | NULL | |
| NotifyEvent | tinyint(4) | NO | PRI | NULL | |
| NumEvents | int(11) | NO | | NULL | |
| NumMails | int(11) | NO | | NULL | |
+-------------+------------+------+-----+---------+-------+
5 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "svy_answers" >
< h3 > Table svy_answers< / h3 >
< p align = "justify" >
Stores the answers to the surveys:
< / p >
< pre >
mysql> DESCRIBE svy_answers;
+---------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------+------------+------+-----+---------+-------+
| QstCod | int(11) | NO | PRI | NULL | |
| AnsInd | tinyint(4) | NO | PRI | NULL | |
| NumUsrs | int(11) | NO | | 0 | |
| Answer | text | NO | | NULL | |
+---------+------------+------+-----+---------+-------+
4 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "svy_groups" >
< h3 > Table svy_groups< / h3 >
< p align = "justify" >
Stores the groups associated to each survey:
< / p >
< pre >
mysql> DESCRIBE svy_groups;
+--------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------+------+-----+---------+-------+
| SvyCod | int(11) | NO | PRI | NULL | |
| GrpCod | int(11) | NO | PRI | NULL | |
+--------+---------+------+-----+---------+-------+
2 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "svy_questions" >
< h3 > Table svy_questions< / h3 >
< p align = "justify" >
Stores the questions in the surveys:
< / p >
< pre >
mysql> DESCRIBE svy_questions;
+---------+-----------------------------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+---------+-----------------------------------------+------+-----+---------+----------------+
| QstCod | int(11) | NO | PRI | NULL | auto_increment |
| SvyCod | int(11) | NO | MUL | NULL | |
| QstInd | int(11) | NO | | 0 | |
| AnsType | enum('unique_choice','multiple_choice') | NO | | NULL | |
| Stem | text | NO | | NULL | |
+---------+-----------------------------------------+------+-----+---------+----------------+
2018-10-04 21:57:25 +02:00
5 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "svy_surveys" >
< h3 > Table svy_surveys< / h3 >
< p align = "justify" >
Stores the surveys:
< / p >
< pre >
mysql> DESCRIBE svy_surveys;
+-----------+-------------------------------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+-------------------------------------------+------+-----+---------+----------------+
| SvyCod | int(11) | NO | PRI | NULL | auto_increment |
| Scope | enum('Sys','Cty','Ins','Ctr','Deg','Crs') | NO | MUL | Sys | |
| Cod | int(11) | NO | | -1 | |
| DegCod | int(11) | NO | | -1 | |
| CrsCod | int(11) | NO | | -1 | |
| Hidden | enum('N','Y') | NO | | N | |
| NumNotif | int(11) | NO | | 0 | |
| Roles | int(11) | NO | | 0 | |
| UsrCod | int(11) | NO | | NULL | |
| StartTime | datetime | NO | | NULL | |
| EndTime | datetime | NO | | NULL | |
| Title | varchar(2047) | NO | | NULL | |
| Txt | text | NO | | NULL | |
+-----------+-------------------------------------------+------+-----+---------+----------------+
13 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "svy_users" >
< h3 > Table svy_users< / h3 >
< p align = "justify" >
Stores the users who have answer the surveys:
< / p >
< pre >
mysql> DESCRIBE svy_users;
+--------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------+------+-----+---------+-------+
| SvyCod | int(11) | NO | PRI | NULL | |
| UsrCod | int(11) | NO | PRI | NULL | |
+--------+---------+------+-----+---------+-------+
2 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "tml_comments" >
< h3 > Table tml_comments< / h3 >
< p align = "justify" >
Stores the content of comments to social notes:
< / p >
< pre >
mysql> DESCRIBE tml_comments;
+--------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+----------+------+-----+---------+-------+
| PubCod | bigint | NO | PRI | NULL | |
| Txt | longtext | NO | MUL | NULL | |
| MedCod | int | NO | MUL | -1 | |
+--------+----------+------+-----+---------+-------+
3 rows in set (0.00 sec)
< / pre >
< / section >
< section id = "tml_comments_fav" >
< h3 > Table tml_comments_fav< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
Stores users who marked social comments as favourite:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE tml_comments_fav;
2018-10-04 21:57:25 +02:00
+---------+------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+---------+------------+------+-----+---------+----------------+
| FavCod | bigint(20) | NO | PRI | NULL | auto_increment |
| PubCod | bigint(20) | NO | MUL | NULL | |
| UsrCod | int(11) | NO | MUL | NULL | |
| TimeFav | datetime | NO | | NULL | |
+---------+------------+------+-----+---------+----------------+
4 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "tml_notes" >
< h3 > Table tml_notes< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
Stores social notes:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE tml_notes;
2018-10-04 21:57:25 +02:00
+-------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+---------------+------+-----+---------+----------------+
| NotCod | bigint(20) | NO | PRI | NULL | auto_increment |
| NoteType | tinyint(4) | NO | MUL | NULL | |
| Cod | int(11) | NO | | -1 | |
| UsrCod | int(11) | NO | MUL | NULL | |
| HieCod | int(11) | NO | | -1 | |
| Unavailable | enum('N','Y') | NO | | N | |
| TimeNote | datetime | NO | MUL | NULL | |
+-------------+---------------+------+-----+---------+----------------+
7 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "tml_notes_fav" >
< h3 > Table tml_notes_fav< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
Stores users who marked social notes as favourite:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE tml_notes_fav;
2018-10-04 21:57:25 +02:00
+---------+------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+---------+------------+------+-----+---------+----------------+
| FavCod | bigint(20) | NO | PRI | NULL | auto_increment |
| NotCod | bigint(20) | NO | MUL | NULL | |
| UsrCod | int(11) | NO | MUL | NULL | |
| TimeFav | datetime | NO | | NULL | |
+---------+------------+------+-----+---------+----------------+
4 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "tml_posts" >
< h3 > Table tml_posts< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
Stores social posts (public comments written by users):
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE tml_posts;
+--------+----------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------+----------+------+-----+---------+----------------+
| PstCod | int | NO | PRI | NULL | auto_increment |
| Txt | longtext | NO | MUL | NULL | |
| MedCod | int | NO | MUL | -1 | |
+--------+----------+------+-----+---------+----------------+
3 rows in set (0.01 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "tml_pubs" >
< h3 > Table tml_pubs< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
Stores social publishings (original notes, sharede notes or comments):
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE tml_pubs;
2018-10-04 21:57:25 +02:00
+--------------+------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------+------------+------+-----+---------+----------------+
| PubCod | bigint(20) | NO | PRI | NULL | auto_increment |
| NotCod | bigint(20) | NO | MUL | NULL | |
| PublisherCod | int(11) | NO | MUL | NULL | |
| PubType | tinyint(4) | NO | MUL | NULL | |
| TimePublish | datetime | NO | MUL | NULL | |
+--------------+------------+------+-----+---------+----------------+
5 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "tml_timelines" >
< h3 > Table tml_timelines< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
Stores notes published in social timeline for every active session:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE tml_timelines;
2018-10-04 21:57:25 +02:00
+-----------+------------+------+-----+---------+-------+
| 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)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "tmt_courses" >
< h3 > Table tmt_courses< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
Stores the timetables of the courses:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE tmt_courses;
2014-12-02 20:43:32 +01:00
+-----------+------------------------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+------------------------------------+------+-----+---------+-------+
2023-10-06 10:55:13 +02:00
| CrsCod | int | NO | MUL | -1 | |
| GrpCod | int | NO | | -1 | |
| Weekday | tinyint | NO | | NULL | |
2018-10-04 21:57:25 +02:00
| StartTime | time | NO | | NULL | |
| Duration | time | NO | | NULL | |
| ClassType | enum('free','lecture','practical') | NO | | NULL | |
2023-10-06 10:55:13 +02:00
| Info | varchar(2047) | NO | | | |
2014-12-02 20:43:32 +01:00
+-----------+------------------------------------+------+-----+---------+-------+
2023-10-06 10:55:13 +02:00
7 rows in set (0.01 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "tmt_tutoring" >
< h3 > Table tmt_tutoring< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores the timetables of tutoring hours of the teachers:
2014-12-02 20:43:32 +01:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE tmt_tutoring;
+-----------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+-------+
| UsrCod | int | NO | MUL | NULL | |
| Weekday | tinyint | NO | | NULL | |
| StartTime | time | NO | | NULL | |
| Duration | time | NO | | NULL | |
| Info | varchar(2047) | NO | | | |
+-----------+---------------+------+-----+---------+-------+
5 rows in set (0.00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "tst_answers" >
2014-12-02 20:43:32 +01:00
< h3 > Table tst_answers< / h3 >
< p align = "justify" >
Stores the answers to the questions in tests:
< / p >
< pre >
mysql> DESCRIBE tst_answers;
2023-10-06 10:55:13 +02:00
+----------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------------+------+-----+---------+-------+
| QstCod | int | NO | MUL | NULL | |
| AnsInd | tinyint | NO | | NULL | |
| Answer | text | NO | | NULL | |
| Feedback | text | NO | | NULL | |
| MedCod | int | NO | MUL | -1 | |
| Correct | enum('N','Y') | NO | | NULL | |
+----------+---------------+------+-----+---------+-------+
6 rows in set (0.00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "tst_config" >
2014-12-02 20:43:32 +01:00
< h3 > Table tst_config< / h3 >
< p align = "justify" >
Stores the configuration of tests for each course:
< / p >
2018-10-04 21:57:25 +02:00
< pre style = "font-size:0.75em;" >
2014-12-02 20:43:32 +01:00
mysql> DESCRIBE tst_config;
+---------------------+------------------------------------------------------------------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------------------+------------------------------------------------------------------------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| CrsCod | int(11) | NO | PRI | -1 | |
| Pluggable | enum('unknown','N','Y') | NO | | unknown | |
| Min | int(11) | NO | | NULL | |
| Def | int(11) | NO | | NULL | |
| Max | int(11) | NO | | NULL | |
| MinTimeNxtTstPerQst | int(11) | NO | | 0 | |
| Feedback | enum('nothing','total_result','each_result','each_good_bad','full_feedback') | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+---------------------+------------------------------------------------------------------------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
7 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "tst_exam_questions" >
2014-12-02 20:43:32 +01:00
< h3 > Table tst_exam_questions< / h3 >
< p align = "justify" >
Stores the questions and answers in test exams made by users:
< / p >
< pre >
mysql> DESCRIBE tst_exam_questions;
+---------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------+---------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| TstCod | int(11) | NO | MUL | NULL | |
| QstCod | int(11) | NO | | NULL | |
| QstInd | int(11) | NO | | NULL | |
| Score | double | NO | | 0 | |
| Indexes | text | NO | | NULL | |
| Answers | text | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+---------+---------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
6 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "tst_exams" >
2014-12-02 20:43:32 +01:00
< h3 > Table tst_exams< / h3 >
< p align = "justify" >
Stores the test exams made by users:
< / p >
< pre >
mysql> DESCRIBE tst_exams;
+-----------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------------+---------------+------+-----+---------+----------------+
2018-10-04 21:57:25 +02:00
| TstCod | int(11) | NO | PRI | NULL | auto_increment |
| CrsCod | int(11) | NO | MUL | NULL | |
| UsrCod | int(11) | NO | | NULL | |
| AllowTeachers | enum('N','Y') | NO | | N | |
| TstTime | datetime | NO | | NULL | |
| NumQsts | int(11) | NO | | 0 | |
| NumQstsNotBlank | int(11) | NO | | 0 | |
| Score | double | NO | | 0 | |
2014-12-02 20:43:32 +01:00
+-----------------+---------------+------+-----+---------+----------------+
2018-10-04 21:57:25 +02:00
8 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "tst_question_tags" >
2014-12-02 20:43:32 +01:00
< h3 > Table tst_question_tags< / h3 >
< p align = "justify" >
Stores the tags associated to each test question:
< / p >
< pre >
mysql> DESCRIBE tst_question_tags;
+--------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| QstCod | int(11) | NO | PRI | NULL | |
| TagCod | int(11) | NO | PRI | NULL | |
| TagInd | tinyint(4) | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+--------+------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
3 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "tst_questions" >
2014-12-02 20:43:32 +01:00
< h3 > Table tst_questions< / h3 >
< p align = "justify" >
Stores the test questions:
< / p >
2018-10-04 21:57:25 +02:00
< pre style = "font-size:0.75em;" >
2014-12-02 20:43:32 +01:00
mysql> DESCRIBE tst_questions;
+-----------------+---------------------------------------------------------------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------------+---------------------------------------------------------------------------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
| QstCod | int | NO | PRI | NULL | auto_increment |
| CrsCod | int | NO | MUL | -1 | |
2018-10-04 21:57:25 +02:00
| EditTime | datetime | NO | | NULL | |
| AnsType | enum('int','float','true_false','unique_choice','multiple_choice','text') | NO | | NULL | |
| Shuffle | enum('N','Y') | NO | | NULL | |
| Stem | text | NO | | NULL | |
| Feedback | text | NO | | NULL | |
2023-10-06 10:55:13 +02:00
| MedCod | int | NO | MUL | -1 | |
| NumHits | int | NO | | 0 | |
| NumHitsNotBlank | int | NO | | 0 | |
2018-10-04 21:57:25 +02:00
| Score | double | NO | | 0 | |
2014-12-02 20:43:32 +01:00
+-----------------+---------------------------------------------------------------------------+------+-----+---------+----------------+
2023-10-06 10:55:13 +02:00
11 rows in set (0.01 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "tst_status" >
2014-12-02 20:43:32 +01:00
< h3 > Table tst_status< / h3 >
< p align = "justify" >
Stores the status of tests for each session:
< / p >
< pre >
mysql> DESCRIBE tst_status;
+-----------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| SessionId | char(43) | NO | PRI | NULL | |
| CrsCod | int(11) | NO | PRI | NULL | |
| NumTst | int(11) | NO | PRI | NULL | |
| Status | tinyint(4) | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+-----------+------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
4 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "tst_tags" >
2014-12-02 20:43:32 +01:00
< h3 > Table tst_tags< / h3 >
< p align = "justify" >
Stores the tags of test questions:
< / p >
< pre >
mysql> DESCRIBE tst_tags;
+------------+---------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+---------------+------+-----+---------+----------------+
2018-10-04 21:57:25 +02:00
| TagCod | int(11) | NO | PRI | NULL | auto_increment |
| CrsCod | int(11) | NO | MUL | -1 | |
| ChangeTime | datetime | NO | | NULL | |
| TagTxt | varchar(2047) | NO | | NULL | |
| TagHidden | enum('N','Y') | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+------------+---------------+------+-----+---------+----------------+
2018-10-04 21:57:25 +02:00
5 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "usr_admins" >
< h3 > Table usr_admins< / h3 >
2014-12-02 20:43:32 +01:00
< p align = "justify" >
2023-10-06 10:55:13 +02:00
Stores administrators of platform, institutions, centers and degrees:
2014-12-02 20:43:32 +01:00
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE usr_admins;
+--------+-------------------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+-------------------------------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
| Scope | enum('Sys','Ins','Ctr','Deg') | NO | PRI | NULL | |
| Cod | int(11) | NO | PRI | NULL | |
+--------+-------------------------------+------+-----+---------+-------+
3 rows in set (0,00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
< section id = "usr_banned" >
< h3 > Table usr_banned< / h3 >
< p align = "justify" >
Stores users banned for ranking:
< / p >
< pre >
mysql> DESCRIBE usr_banned;
+--------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
+--------+---------+------+-----+---------+-------+
1 row in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2023-10-06 10:55:13 +02:00
< section id = "usr_birthdays_today" >
< h3 > Table usr_birthdays_today< / h3 >
< p align = "justify" >
Stores birthdays already congratulated today:
< / p >
< pre >
mysql> DESCRIBE usr_birthdays_today;
+--------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
| Today | date | NO | MUL | NULL | |
+--------+---------+------+-----+---------+-------+
2 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "usr_clicks_without_photo" >
< h3 > Table usr_clicks_without_photo< / h3 >
< p align = "justify" >
Stores the number of clicks that remains to each user before being required to submit his/her photo:
< / p >
< pre >
mysql> DESCRIBE usr_clicks_without_photo;
+-----------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
| NumClicks | int(11) | NO | | NULL | |
+-----------+---------+------+-----+---------+-------+
2 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "usr_connected" >
< h3 > Table usr_connected< / h3 >
< p align = "justify" >
Stores users currently connected to the platform:
< / p >
< pre >
mysql> DESCRIBE usr_connected;
+---------------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------------+------------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
| RoleInLastCrs | tinyint(4) | NO | MUL | 0 | |
| LastCrsCod | int(11) | NO | MUL | -1 | |
| LastTime | datetime | NO | | NULL | |
+---------------+------------+------+-----+---------+-------+
4 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "usr_data" >
2014-12-02 20:43:32 +01:00
< h3 > Table usr_data< / h3 >
< p align = "justify" >
Stores users' data:
< / p >
2018-10-04 21:57:25 +02:00
< pre >
2014-12-02 20:43:32 +01:00
mysql> DESCRIBE usr_data;
2018-10-04 21:57:25 +02:00
+-------------------+--------------------------------------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------------+--------------------------------------------------+------+-----+---------+----------------+
| UsrCod | int(11) | NO | PRI | NULL | auto_increment |
| EncryptedUsrCod | char(43) | NO | UNI | | |
| Password | char(86) | NO | | | |
| Surname1 | varchar(511) | NO | | | |
| Surname2 | varchar(511) | NO | | | |
| FirstName | varchar(511) | NO | | | |
| Sex | enum('unknown','female','male') | NO | | unknown | |
| Theme | char(16) | NO | MUL | | |
| IconSet | char(16) | NO | MUL | | |
| Language | char(2) | NO | MUL | | |
| FirstDayOfWeek | tinyint(4) | NO | MUL | 0 | |
| DateFormat | tinyint(4) | NO | MUL | 0 | |
| Photo | char(43) | NO | | | |
| PhotoVisibility | enum('unknown','user','course','system','world') | NO | MUL | unknown | |
| ProfileVisibility | enum('unknown','user','course','system','world') | NO | MUL | unknown | |
| CtyCod | int(11) | NO | MUL | -1 | |
| InsCtyCod | int(11) | NO | MUL | -1 | |
| InsCod | int(11) | NO | MUL | -1 | |
| DptCod | int(11) | NO | MUL | -1 | |
| CtrCod | int(11) | NO | MUL | -1 | |
| Office | varchar(2047) | NO | | | |
| OfficePhone | char(16) | NO | | | |
| LocalAddress | varchar(2047) | NO | | | |
| LocalPhone | char(16) | NO | | | |
| FamilyAddress | varchar(2047) | NO | | | |
| FamilyPhone | char(16) | NO | | | |
| OriginPlace | varchar(2047) | NO | | | |
| Birthday | date | YES | | NULL | |
| Comments | text | NO | | NULL | |
| Menu | tinyint(4) | NO | MUL | 0 | |
| SideCols | tinyint(4) | NO | MUL | 3 | |
| NotifNtfEvents | int(11) | NO | | 0 | |
| EmailNtfEvents | int(11) | NO | | 0 | |
+-------------------+--------------------------------------------------+------+-----+---------+----------------+
33 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "usr_duplicated" >
< h3 > Table usr_duplicated< / h3 >
< p align = "justify" >
Stores informs of users possibly duplicated:
< / p >
< pre >
mysql> DESCRIBE usr_duplicated;
+-------------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+----------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
| InformerCod | int(11) | NO | PRI | NULL | |
| InformTime | datetime | NO | | NULL | |
+-------------+----------+------+-----+---------+-------+
3 rows in set (0,00 sec)
< / pre >
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "usr_emails" >
2014-12-02 20:43:32 +01:00
< h3 > Table usr_emails< / h3 >
< p align = "justify" >
Stores the users' e-mails:
< / p >
< pre >
mysql> DESCRIBE usr_emails;
+-----------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| UsrCod | int(11) | NO | PRI | NULL | |
| E_mail | varchar(255) | NO | PRI | NULL | |
| CreatTime | datetime | NO | | NULL | |
| Confirmed | enum('N','Y') | NO | | N | |
2014-12-02 20:43:32 +01:00
+-----------+---------------+------+-----+---------+-------+
2023-10-06 10:55:13 +02:00
4 rows in set (0,00 sec)
2018-10-04 21:57:25 +02:00
< / pre >
< / section >
< section id = "usr_figures" >
< h3 > Table usr_figures< / h3 >
< p align = "justify" >
Stores some figures (numbers) related to users to show in public profile:
< / p >
< pre >
mysql> DESCRIBE usr_figures;
+----------------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------+----------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
| FirstClickTime | datetime | NO | MUL | NULL | |
| NumClicks | int(11) | NO | MUL | -1 | |
| NumFileViews | int(11) | NO | | -1 | |
| NumForPst | int(11) | NO | | -1 | |
| NumMsgSnt | int(11) | NO | | -1 | |
+----------------+----------+------+-----+---------+-------+
6 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "usr_follow" >
< h3 > Table usr_follow< / h3 >
< p align = "justify" >
Stores followers and followed:
< / p >
< pre >
mysql> DESCRIBE usr_follow;
+-------------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+----------+------+-----+---------+-------+
| FollowerCod | int(11) | NO | PRI | NULL | |
| FollowedCod | int(11) | NO | PRI | NULL | |
| FollowTime | datetime | NO | MUL | NULL | |
+-------------+----------+------+-----+---------+-------+
3 rows in set (0,00 sec)
< / pre >
< / section >
2023-10-06 10:55:13 +02:00
< section id = "usr_ids" >
< h3 > Table usr_ids< / h3 >
< p align = "justify" >
Stores the users' IDs:
< / p >
< pre >
mysql> DESCRIBE usr_ids;
+-----------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
| UsrID | char(16) | NO | PRI | NULL | |
| CreatTime | datetime | NO | | NULL | |
| Confirmed | enum('N','Y') | NO | | N | |
+-----------+---------------+------+-----+---------+-------+
4 rows in set (0,00 sec)
< / pre >
< / section >
2018-10-04 21:57:25 +02:00
< section id = "usr_last" >
2014-12-02 20:43:32 +01:00
< h3 > Table usr_last< / h3 >
< p align = "justify" >
Stores some variable data related to users:
< / p >
< pre >
mysql> DESCRIBE usr_last;
2018-10-04 21:57:25 +02:00
+--------------+------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------------+------------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
| WhatToSearch | tinyint(4) | NO | | 0 | |
| LastCrs | int(11) | NO | | -1 | |
| LastTab | tinyint(4) | NO | | NULL | |
| LastTime | datetime | NO | MUL | NULL | |
| LastAccNotif | datetime | NO | | NULL | |
+--------------+------------+------+-----+---------+-------+
6 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2018-10-04 21:57:25 +02:00
< section id = "usr_nicknames" >
2014-12-02 20:43:32 +01:00
< h3 > Table usr_nicknames< / h3 >
< p align = "justify" >
Stores users' nicknames:
< / p >
< pre >
mysql> DESCRIBE usr_nicknames;
+-----------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+----------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
| UsrCod | int(11) | NO | PRI | NULL | |
| Nickname | char(16) | NO | PRI | NULL | |
| CreatTime | datetime | NO | | NULL | |
2014-12-02 20:43:32 +01:00
+-----------+----------+------+-----+---------+-------+
2018-10-04 21:57:25 +02:00
3 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
2023-10-06 10:55:13 +02:00
< section id = "usr_pending_emails" >
< h3 > Table usr_pending_emails< / h3 >
< p align = "justify" >
Stores the emails pending of confirmation:
< / p >
< pre >
mysql> DESCRIBE usr_pending_emails;
+-------------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+--------------+------+-----+---------+-------+
| UsrCod | int(11) | NO | MUL | NULL | |
| E_mail | varchar(255) | NO | | NULL | |
| MailKey | char(43) | NO | PRI | NULL | |
| DateAndTime | datetime | NO | | NULL | |
+-------------+--------------+------+-----+---------+-------+
4 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "usr_pending_passwd" >
< h3 > Table usr_pending_passwd< / h3 >
< p align = "justify" >
Stores the passwords pending of activation, sent by e-mail when a user who have forgotten his/her password request a new one:
< / p >
< pre >
mysql> DESCRIBE usr_pending_passwd;
+-----------------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------------+----------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
| PendingPassword | char(86) | NO | | NULL | |
| DateAndTime | datetime | NO | | NULL | |
+-----------------+----------+------+-----+---------+-------+
3 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "usr_reports" >
< h3 > Table usr_reports< / h3 >
2018-10-04 21:57:25 +02:00
< p align = "justify" >
Stores users' usage reports:
< / p >
< pre >
2023-10-06 10:55:13 +02:00
mysql> DESCRIBE usr_reports;
2018-10-04 21:57:25 +02:00
+---------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+---------------+--------------+------+-----+---------+----------------+
| RepCod | int(11) | NO | PRI | NULL | auto_increment |
| UsrCod | int(11) | NO | MUL | NULL | |
| ReportTimeUTC | datetime | NO | | NULL | |
| UniqueDirL | char(2) | NO | | NULL | |
| UniqueDirR | char(41) | NO | | NULL | |
| Filename | varchar(255) | NO | | NULL | |
| Permalink | varchar(255) | NO | | NULL | |
+---------------+--------------+------+-----+---------+----------------+
7 rows in set (0,00 sec)
< / pre >
< / section >
< section id = "usr_webs" >
2014-12-02 20:43:32 +01:00
< h3 > Table usr_webs< / h3 >
< p align = "justify" >
Stores users' web and social networks:
< / p >
2018-10-04 21:57:25 +02:00
< pre style = "font-size:0.25em;" >
2014-12-02 20:43:32 +01:00
mysql> DESCRIBE usr_webs;
2018-10-04 21:57:25 +02:00
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
| Web | enum('www','500px','delicious','deviantart','diaspora','edmodo','facebook','flickr','foursquare','github','gnusocial','googleplus','googlescholar','identica','instagram','linkedin','orcid','paperli','pinterest','quitter','researchgate','researcherid','scoopit','slideshare','stackoverflow','storify','tumblr','twitter','wikipedia','youtube') | NO | PRI | NULL | |
| URL | varchar(255) | NO | | NULL | |
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-----+---------+-------+
3 rows in set (0,00 sec)
2014-12-02 20:43:32 +01:00
< / pre >
2018-10-04 21:57:25 +02:00
< / section >
2014-12-02 20:43:32 +01:00
< / td >
< / tr >
< / table >
< / td >
< / tr >
< / table >
< / body >
< / html >