Closed nasonfish closed 5 years ago
I think ultimately you'll end up wanting option 2... Many institutions have team taught courses and placing the role into the enrollment will allow the same mechanism to be used for multiple types of roles (e.g. graders).
Ah, great! That's what I ended up doing.
https://github.com/nasonfish/derp/blob/master/src/derp/db_helper.py#L332
Thinking back on it, I'm not sure why I was ever considering the first one. I saw it as less queries/less complex joins (which don't really matter all that much), but it's at the expense of co-taught classes, giving graders/paraprofs permissions in specific classes, etc.
Thanks for your comment!
Two options:
OR
option 1 lets us do simpler queries for course information. option 2 allows for multiple professors and other kinds of flexibility around the "professor" role.