classroom
classroom copied to clipboard
Add multiple teachers to a classroom
Describe the bug
We only support one teacher/instructor per class, however, this may not fit all use cases. We would like to be able to have multiple teachers (limit yet to be discussed). The first step would require us to change the Prisma schema / database to support multiple teachers for a given classroom.
Here is how you can approach this task:
- Open schema.prisma
- Update the Classroom model ==> classroomTeacherId should take an array of Strings. Afterwards you will need to do a prisma migration or wipe the DB and start from scratch.
- Search the codebase for all references to classroomTeacherId in javascript files. Update the code so that works with an array. For example, you may want to append to the classroomTeacherId array instead of setting it directly.
Hello @GuillermoFloresV I would like to be assigned to this
My team and I from CTI are working on this.
@jtnguyen45 I updated the original description of this issue to reduce the scope of the issue and make it more clear.
Sounds great @utsab . Thank you for the clarification.
Hi @GuillermoFloresV it looks like people have said they are working on this but it looks dated and no one is currently assigned. I would like to take this on if possible?
HI @theGaryLarson -- I assigned the issue to you.