Skip to content
Browse files

Fixing typo in mysql.sql for unique key for user_teachers on course u…

…serid
  • Loading branch information...
1 parent 38a7def commit a925263bd3a92ce943f2c13a8b84a8d01a0820ac mjollnir_ committed Nov 24, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/db/mysql.sql
View
2 lib/db/mysql.sql
@@ -439,7 +439,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 a925263

Please sign in to comment.
Something went wrong with that request. Please try again.