Groupr-Purdue / Groupr-Backend

Backend system for Groupr
MIT License
2 stars 1 forks source link

Add Staff Attribute to Pivot #27

Open whuang8 opened 7 years ago

whuang8 commented 7 years ago

Task

Add an attribute to indicate if user is staff to the course_user pivot

avaidyam commented 7 years ago

@whuang8 Thought of a simpler way: just have course add a new Pivot<User, Course> called staff. i.e. course('CS 408').staff = ['tom', 'rick', 'harry'] or so.