MDL-69367 quizaccess_seb: correct foreign key table reference.
authorPaul Holden <paulh@moodle.com>
Tue, 28 Jul 2020 12:25:42 +0000 (13:25 +0100)
committerPaul Holden <paulh@moodle.com>
Tue, 28 Jul 2020 12:27:45 +0000 (13:27 +0100)
mod/quiz/accessrule/seb/db/install.xml

index 1969ad3..ffbf932 100644 (file)
@@ -39,7 +39,7 @@
         <KEY NAME="primary" TYPE="primary" FIELDS="id"/>
         <KEY NAME="quizid" TYPE="foreign-unique" FIELDS="quizid" REFTABLE="quiz" REFFIELDS="id"/>
         <KEY NAME="cmid" TYPE="foreign-unique" FIELDS="cmid" REFTABLE="course_modules" REFFIELDS="id"/>
-        <KEY NAME="templateid" TYPE="foreign" FIELDS="templateid" REFTABLE="quizacces_seb_template" REFFIELDS="id"/>
+        <KEY NAME="templateid" TYPE="foreign" FIELDS="templateid" REFTABLE="quizaccess_seb_template" REFFIELDS="id"/>
         <KEY NAME="usermodified" TYPE="foreign" FIELDS="usermodified" REFTABLE="user" REFFIELDS="id"/>
       </KEYS>
     </TABLE>