Open wbvtler opened 4 years ago
@wbvtler I think we need a new schema for handling Scholarship reported. Right now We just store the counter for each Scholarship but not store user_id who reported this. The problem is that the same user can report the Scholarship multiple time.
@b4bhadresh2020 this is a good point. Could you, instead of making it an incrementing number, make it an array of the IDs of users who reported it?
We need a method to collect user feedback regarding scholarship quality, and quantify that reporting.
To do this, we would like a new
reported
attribute added to each scholarship which counts the number of times it is reported by users, with the default being0
.We will then need an endpoint for the client to hit which causes the value of
reported
to increment by 1.