-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
## Team Table | ||
|
||
| team_id (pk, int) | name (char) | origin (char) | | ||
|-------------------|-------------|---------------| | ||
| 1 | Heidees | Heidelberg | | ||
| 2 | Gummis | Karlsruhe | | ||
|
||
## Tournament Table | ||
| tour_id (pk, int) | name (char) | location (char) | start_time (datetime) | end_time (datetime) | type (int) | | ||
|-------------------|-------------|-----------------|-----------------------|---------------------|------------| | ||
| 1 | Heidees Cup | Eppelheim | 02.06.17 | 04.06.17 | 1 | | ||
|
||
## Game Table | ||
| game_id (pk, int) | tour_id (fk) | timestamp | type (int) | | ||
|-------------------|--------------|--------------------|------------| | ||
| 1 | 1 | 02.06.2017 – 10:30 | 1 | | ||
|
||
## Game Score Table | ||
| game_id (fk) | team_id (fk) | score (int) | | ||
|--------------|--------------|-------------| | ||
| 1 | 1 | 15 | | ||
| 1 | 2 | 10 | | ||
|
||
## Spirit Score Table | ||
| score_id (pk) | game_id (fk) | subject (fk: team_id) | object (fk: team_id) | type (int) | value (int) | | ||
|---------------|--------------|-----------------------|----------------------|------------|-------------| | ||
| 1 | 1 | 1 | 2 | 1 | 4 | | ||
| 2 | 1 | 1 | 2 | 2 | 3 | | ||
|
||
## Account Table | ||
| account_id (pk, int) | team_id (fk) | email (char) | login (char) | type (int) | | ||
|----------------------|--------------|--------------------------|--------------|------------| | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mansenfranzen
via email
Author
Owner
|
||
| 1 | 1 | [email protected] | pansen | 1 | | ||
| 2 | 1 | [email protected] | matze | 1 | | ||
| 3 | 1 | [email protected] | mou | 1 | | ||
| 4 | 2 | [email protected] | Gummibär | 2 | | ||
|
||
> Account Table may be redundant. Django Auth System should do the job. Team membership may be added directly to auth core table. | ||
This comment has been minimized.
Sorry, something went wrong.
PlusMinus0
Collaborator
|
||
## Type Dictionary | ||
| Tournament | Spirt Score | Game | Account | | ||
|------------|---------------|----------|----------------| | ||
| Fun | Kommunikation | Vorrunde | Admin | | ||
| Reli | Körperkontakt | Quarter | Team Rechte | | ||
| Nationals | etc… | Finale | Turnier Rechte | | ||
| Europe | | etc… | | | ||
| etc… | | | | | ||
|
||
> Type choices may be hardcoded in the models.py? | ||
|
||
|
||
|
2 comments
on commit 3295b34
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wird bei Python Projekten nicht rst über md bevorzugt? Und GitHub unterstützt doch auch rst, oder?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lass mal'n paar E-Mail Adresse in Klartext ins Internet packen ;-)