hackforla / hackforla/knowledgebase

Add FK from asset to organization (an asset is owned by one organization)

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
category: foreign key complexity: medium dependency draft feature: table: organization milestone: missing role: back end dev size: 1pt
Dominant language
Python
Stars
2
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### Dependies
- #47

### Overview
As a user I need to know organization ownership of the assets.

### Action Items
- [ ] Update models.py. See other examples of foreign keys in the file
- [ ] Run source ./start-dev.sh. This will run makemigration which will create a new script and run it

### How to Manually Verify
- [ ] From asset screen verify you can associate an asset category with an asset.

### Automated Tests
Automated tests will be done as part of another issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.