Added an index on courses for the category

This commit is contained in:
moodler 2003-08-21 08:14:56 +00:00
parent 8d86ba60a0
commit 3052e775c8
4 changed files with 12 additions and 1 deletions

View file

@ -30,6 +30,8 @@ CREATE TABLE prefix_course (
timemodified integer NOT NULL default '0'
);
CREATE INDEX prefix_course_category_idx ON prefix_course (category);
CREATE TABLE prefix_course_categories (
id SERIAL PRIMARY KEY,
name varchar(255) NOT NULL default ''