Permalink
Browse files

Added one missing key too.

  • Loading branch information...
stronk7
stronk7 committed Jan 30, 2005
1 parent 4d759b7 commit 90ccfd190fd9b7a77b2166313296b570ea178a15
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/db/mysql.sql
View
@@ -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';
#

0 comments on commit 90ccfd1

Please sign in to comment.