mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
add questions_name_idx and strings_stirng _idx
This commit is contained in:
parent
abe2308eab
commit
e42fa8c5da
@ -69,6 +69,7 @@ CREATE TABLE prefix_hotpot_questions (
|
||||
);
|
||||
COMMENT ON TABLE prefix_hotpot_questions IS 'details about questions in Hot Potatatoes quiz attempts';
|
||||
CREATE INDEX prefix_hotpot_questions_hotpot_idx ON prefix_hotpot_questions (hotpot);
|
||||
CREATE INDEX prefix_hotpot_questions_name_idx ON prefix_hotpot_questions (SUBSTR(name,20));
|
||||
#
|
||||
# Table structure for table `hotpot_responses`
|
||||
#
|
||||
@ -96,3 +97,4 @@ CREATE TABLE prefix_hotpot_strings (
|
||||
string TEXT NOT NULL
|
||||
);
|
||||
COMMENT ON TABLE prefix_hotpot_strings IS 'strings used in Hot Potatatoes questions and responses';
|
||||
CREATE INDEX prefix_hotpot_strings_string_idx ON prefix_hotpot_strings (SUBSTR(string,20));
|
||||
|
Loading…
x
Reference in New Issue
Block a user