activist icon indicating copy to clipboard operation
activist copied to clipboard

Add flag table to backend via schemas

Open andrewtavis opened this issue 1 year ago • 3 comments

Terms

Description

This issue would add in the flag table to the backend within the backend/content directory. The schemas for the table can be found in the designs on Figma. Another thing that would need to happen is that the total_flags columns should be removed from the tables in which they're found as we need to have unique identifiers for who is flagging what to avoid repeats.

Contribution

We first need to discuss whether the schema is correct, and then happy to implement or support implementation!

andrewtavis avatar Dec 25 '23 11:12 andrewtavis

@to-sta, general idea here was that we follow the support table so there's a shared logic. Only difference is that users are the only entities who can flag, so we don't need to do any entity matching for "flagger".

andrewtavis avatar Dec 25 '23 11:12 andrewtavis

Assigning this to myself, @to-sta. Let me make a PR for this and you can review :)

andrewtavis avatar Dec 26 '23 12:12 andrewtavis

Yeah, sure thing. Happy to see you joining the backend 🥳

to-sta avatar Dec 26 '23 13:12 to-sta