Answer the question
In order to leave comments, you need to log in
How to design a sports competition database?
In order to get acquainted with Django (+ Django Rest Framework), I rivet a pet-project for adding and storing the results of sports competitions.
The user can create an "association" which includes "leagues" whose teams play both domestic and inter-league matches within the association. (I drew inspiration from the example of football, in particular the national leagues / UEFA Cup).
Where can I learn more about how and how not to design a database for this kind of tasks?
I am familiar with the basic principles of RMD and the concept of a normal form, but there was no design experience as such.
Answer the question
In order to leave comments, you need to log in
You draw relationships between entities on a piece of paper, looking at Normal_shape and changing the model so that you come to 3NF
Then
https://docs.djangoproject.com/en/1.9/ref/models/f...
and
https://docs.djangoproject.com /en/1.9/topics/db/ex...
Regarding relational DBMS, you can design like this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question