|
|
@ -34,7 +34,8 @@ ALTER TABLE track_e_course_access ADD INDEX (course_code); |
|
|
|
|
|
|
|
|
|
|
|
-- xxUSERxx |
|
|
|
-- xxUSERxx |
|
|
|
|
|
|
|
|
|
|
|
-- xxCOURSExx |
|
|
|
-- xxCOURSExx |
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS survey_answer (answer_id int unsigned NOT NULL auto_increment, survey_id int unsigned NOT NULL, question_id int NOT NULL, option_id TEXT NOT NULL, value int unsigned not null, user varchar(250) NOT NULL, PRIMARY KEY (answer_id) ); |
|
|
|
ALTER TABLE lp_view ADD INDEX (lp_id); |
|
|
|
ALTER TABLE lp_view ADD INDEX (lp_id); |
|
|
|
ALTER TABLE lp_view ADD INDEX (user_id); |
|
|
|
ALTER TABLE lp_view ADD INDEX (user_id); |
|
|
|
ALTER TABLE lp_item ADD INDEX (lp_id); |
|
|
|
ALTER TABLE lp_item ADD INDEX (lp_id); |
|
|
@ -44,4 +45,4 @@ ALTER TABLE lp_iv_interaction ADD INDEX (lp_iv_id); |
|
|
|
ALTER TABLE quiz_question ADD INDEX (position); |
|
|
|
ALTER TABLE quiz_question ADD INDEX (position); |
|
|
|
ALTER TABLE forum_thread ADD INDEX (forum_id); |
|
|
|
ALTER TABLE forum_thread ADD INDEX (forum_id); |
|
|
|
ALTER TABLE forum_thread DROP INDEX thread_id; |
|
|
|
ALTER TABLE forum_thread DROP INDEX thread_id; |
|
|
|
ALTER TABLE lp_item_view ADD core_exit varchar(32) NOT NULL DEFAULT 'none'; |
|
|
|
ALTER TABLE lp_item_view ADD core_exit varchar(32) NOT NULL DEFAULT 'none'; |
|
|
|