Added one missing key too.

This commit is contained in:
stronk7 2005-01-30 10:05:36 +00:00
parent 4d759b7944
commit 90ccfd190f

View File

@ -536,7 +536,8 @@ CREATE TABLE `prefix_user_teachers` (
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),
UNIQUE KEY `courseuserid` (course,userid),
KEY `userid` (userid)
KEY `userid` (userid),
KEY `enrol` (enrol)
) TYPE=MyISAM COMMENT='One record per teacher per course';
#