Shouldn't the uid be present somewhere in classroom_response?

The current layout is:

nid (node: nid)
assignment_nid (classroom_assignment:nid)
grade

Did you mean to make the initial nid(node:nid) uid(users:uid)?

Otherwise, how do you record a user's grades?

Comments

wjaspers’s picture

Status: Active » Closed (works as designed)

Nevermind ... I forgot the Node creator is a user; and therefore, a UID becomes associated with a response automatically.

imobachgs’s picture

Yes, you're right again :)

Anyway, Classroom has a broken table design because it doesn't use the vid field. I'm writing a patch to fix that issue.

Thank you!