Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…serid
  • Loading branch information...
commit a925263bd3a92ce943f2c13a8b84a8d01a0820ac 1 parent 38a7def
mjollnir_ authored
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';
Please sign in to comment.
Something went wrong with that request. Please try again.