add questions_name_idx and strings_stirng _idx

This commit is contained in:
gbateson 2006-01-13 08:37:10 +00:00
parent abe2308eab
commit e42fa8c5da

View File

@ -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));