feat: 1/3 steward report card - model changes
- Dominant language
- JavaScript
- Stars
- 1.8k
- Forks
- 776
- PR merge metrics
- No merged PRs in 30d
Description
### Description
This is part 1 / 3 in creating the steward report card backend.
The goal here is to ensure we make the needed changes to the database to be able to store the information needed for
Refer: https://github.com/gitcoinco/web/issues/9290
#### Create Table WorkStream
- [ ] name // CharField(max_length=256)
- [ ] gov_link // TextField
- [ ] badge_lead // ImageField
- [ ] badge_member // ImageField
- [ ] leads // fk to GTCStewards
- [ ] members // one-to-many fk GTCStewards
#### Update Table GTCSteward
Currently we have [GTCSteward](https://github.com/gitcoinco/web/blob/master/app/quadraticlands/models.py#L145) table.
We would want to extend this to include a few more fields
- [ ] gtc_delegated_history - this would be a list
- [ ] gtc_delegated // IntegerField
- [ ] snaphot_votes_casted // IntegerField
- [ ] snaphot_proposal_created // IntegerField
- [ ] gov_posts_created // IntegerField
- [ ] gov_comments_count // IntegerField
- [ ] cordinape score // DecimalField
- [ ] key_actions // TextField
- [ ] grant_created // IntegerField
- [ ] grant_contributions_made // DecimalField
------
**NOTE:**
- Override the save feature to ensure each time `gtc_delegated` is changed -> gtc_delegated_history is updated with the new value
- ensure every field has sufficent help text
Contributor guide
Assessment
This issue has not been assessed yet.