hackforla / hackforla/peopledepot
Create Table: UserPracticeAreaSecondaryXref
- Dominant language
- Python
- Stars
- 14
- Forks
- 37
- Avg merge
- 9d 15h
- Merged PRs (30d)
- 5
Description
### Overview
We need to create the UserPracticeAreaSecondaryXref table to support many-to-many relationship between UserPracticeAreaSecondary.
Used to be part of
- #601
### Action Items
- [ ] Create xref table UserPracticeAreaSecondaryXref
field | type | related table | description
--- | --- | --- | ---
user | FK | User |
practice_area | FK | PracticeArea |
- [ ] update models.py User model field
```
practice_area_secondary = models.ManyToManyField(
"PracticeArea",
related_name="users_secondary",
blank=True,
through="UserPracticeAreaSecondaryXref",
)
```
### Resources/Instructions
- Reference similar code in models.py for guidance
Contributor guide
Assessment
This issue has not been assessed yet.