hackforla / hackforla/knowledgebase

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

Aperta
#50 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
category: foreign key complexity: medium dependency draft feature: table: organization milestone: missing role: back end dev size: 1pt
Lingua principale
Python
Stelle
2
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with #47, then inspect models.py for existing foreign-key examples and run source ./start-dev.sh to exercise migration creation. Verify the asset screen can associate an organization with an asset; the issue's automated tests are explicitly deferred to another issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
backend, database
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.