Browse files

MDL-33924 quiz: incorrect foreign key definition.

Thanks to Jean-Michel Vedrine for spotting this.≈
  • Loading branch information...
1 parent 3546266 commit 76ef65f45d32c49ae15f552578fa765bf2b2c7a8 @timhunt timhunt committed Jun 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/db/install.xml
@@ -67,7 +67,7 @@
<KEY NAME="primary" TYPE="primary" FIELDS="id" NEXT="uniqueid"/>
- <KEY NAME="uniqueid" TYPE="foreign-unique" FIELDS="uniqueid" REFTABLE="question_attempts" REFFIELDS="id" PREVIOUS="primary" NEXT="quiz"/>
+ <KEY NAME="uniqueid" TYPE="foreign-unique" FIELDS="uniqueid" REFTABLE="question_usages" REFFIELDS="id" PREVIOUS="primary" NEXT="quiz"/>
<KEY NAME="quiz" TYPE="foreign" FIELDS="quiz" REFTABLE="quiz" REFFIELDS="id" PREVIOUS="uniqueid"/>

0 comments on commit 76ef65f

Please sign in to comment.