skala
Yannick Warnier 16 years ago
commit 2a9b3323c4
  1. 14
      main/install/dokeos_stats.sql
  2. 1
      main/install/migrate-db-1.8.6.1-1.8.6.2-pre.sql

@ -131,12 +131,13 @@ ALTER TABLE track_e_attempt ADD INDEX (user_id);
ALTER TABLE track_e_attempt ADD INDEX (question_id);
CREATE TABLE track_e_attempt_recording (
exe_id int unsigned NOT NULL,
question_id int unsigned NOT NULL,
marks int NOT NULL,
insert_date datetime NOT NULL default '0000-00-00 00:00:00',
author int unsigned NOT NULL,
teacher_comment text NOT NULL);
exe_id int unsigned NOT NULL,
question_id int unsigned NOT NULL,
marks int NOT NULL,
insert_date datetime NOT NULL default '0000-00-00 00:00:00',
author int unsigned NOT NULL,
teacher_comment text NOT NULL
);
ALTER TABLE track_e_attempt_recording ADD INDEX (exe_id);
CREATE TABLE track_e_hotpotatoes (
@ -230,3 +231,4 @@ CREATE TABLE track_e_hotspot (
ALTER TABLE track_e_course_access ADD INDEX (user_id);
ALTER TABLE track_e_course_access ADD INDEX (login_course_date);
ALTER TABLE track_e_course_access ADD INDEX (course_code);
ALTER TABLE track_e_online ADD INDEX (course);

@ -45,6 +45,7 @@ INSERT INTO settings_options (variable, value, display_text) VALUES ('send_email
-- xxSTATSxx
ALTER TABLE track_e_exercices ADD COLUMN expired_time_control datetime NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE track_e_online ADD INDEX (course);
-- xxUSERxx

Loading…
Cancel
Save