Skip to content

Commit

Permalink
Merged from MOODLE_14_STABLE: Fixing typo in mysql.sql for unique key…
Browse files Browse the repository at this point in the history
… for user_teachers on course userid
  • Loading branch information
mjollnir_ committed Nov 24, 2004
1 parent 0c06c9d commit f3c9e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db/mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit f3c9e7f

Please sign in to comment.