Closed devukurup closed 2 years ago
attempts
attempt record
submitted
attempt_answers
attempt_id
question_id
Workflow for Eve:
attempts/new
standard
attempt
true
unsubmitted(submitted: false)
attempts
for storingattempt record
for a Eve which has a quiz as reference.submitted
inattempts
table as well.attempt_answers
for storing answers. Each record of the table contains answer for single question of an attempt.attempt_answers
, combination ofattempt_id
andquestion_id
will be unique.Workflow for Eve:
attempts/new
page.standard
user and anattempt
record is created with submitted as false.submitted
is settrue
in theattempt
table with all the answers inattempt_answers
table. (End of Eve's flow)unsubmitted(submitted: false)
attempt then reuse the user object or else create a new user.