Skip to content

Commit

Permalink
studentquiz#77 Fixed missing key
Browse files Browse the repository at this point in the history
  • Loading branch information
muqiuq committed Dec 11, 2018
1 parent 7bb60c3 commit 50f4c26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
<FIELD NAME="correctattempts" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false" COMMENT="Number of correct answers" />
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
<KEY NAME="userid" TYPE="foreign" FIELDS="userid" REFTABLE="user" REFFIELDS="id"/>
<KEY NAME="questionid" TYPE="foreign" FIELDS="questionid" REFTABLE="question" REFFIELDS="id"/>
<KEY NAME="studentquizid" TYPE="foreign" FIELDS="studentquizid" REFTABLE="studentquiz" REFFIELDS="id"/>
Expand Down

0 comments on commit 50f4c26

Please sign in to comment.