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

@ -51,7 +51,8 @@ CREATE TABLE `prefix_course` (
`visible` int(10) unsigned NOT NULL default '1',
`timecreated` int(10) unsigned NOT NULL default '0',
`timemodified` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id`)
PRIMARY KEY (`id`),
KEY `category` (`category`)
) TYPE=MyISAM;
# --------------------------------------------------------