Permalink
Browse files

Merged from MOODLE_14_STABLE: Fixing typo in mysql.sql for unique key…

… for user_teachers on course userid
  • Loading branch information...
1 parent 0c06c9d commit f3c9e7f9c347d64eb928b6d7922d446cfa28eba0 mjollnir_ committed Nov 24, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/db/mysql.sql
View
@@ -455,7 +455,7 @@ CREATE TABLE `prefix_user_teachers` (
`timeaccess` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),
- KEY UNIQUE `courseuserid` (course,userid),
+ UNIQUE KEY `courseuserid` (course,userid),
KEY `userid` (userid)
) TYPE=MyISAM COMMENT='One record per teacher per course';

0 comments on commit f3c9e7f

Please sign in to comment.