Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TECHDEBT] Normalisierung Datenbankmodell "Budgets" #84

Open
makakken opened this issue Mar 17, 2023 · 0 comments
Open

[TECHDEBT] Normalisierung Datenbankmodell "Budgets" #84

makakken opened this issue Mar 17, 2023 · 0 comments
Labels
[BACKEND] 🤖 Backend / Serverside Tasks technical debt todos to discuss in team

Comments

@makakken
Copy link
Contributor

Aktuelle Situation:
User haben Budget, Gruppen haben Budget, diese Budget sind jeweils direkt Columns der Users-Table oder der AccessGroups-Table.

Gewünschte Situation:
Die Budgets hängen nichtmehr direkt in der User/accessGroup-Tabelle sondern verweisen jeweils per Fremdschlüssel auf eine User/Group-Budget Tabelle.

Optimale Situation:
Die Budgets hängen nichtmehr direkt in der User/accessGroup-Tabelle sondern verweisen jeweils per Fremdschlüssel auf eine Budget Tabelle (Gruppen und User-Budgets werden hierzu in einer einzigen Tabelle verwaltet, Polymorphism). beispiel https://realpython.com/modeling-polymorphism-django-python/#sparse-model

@makakken makakken added [BACKEND] 🤖 Backend / Serverside Tasks technical debt todos to discuss in team labels Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[BACKEND] 🤖 Backend / Serverside Tasks technical debt todos to discuss in team
Projects
None yet
Development

No branches or pull requests

1 participant