Merge branch 'backend' into db

This commit is contained in:
j-weissen 2022-11-29 11:11:54 +01:00
commit c7fae6499c
2 changed files with 39 additions and 0 deletions

27
backend/README.md Normal file
View file

@ -0,0 +1,27 @@
## Database Schema
```mermaid
erDiagram
user {
string name PK
}
game {
serial game_id PK
int score
time playtime
date date
string username FK
}
user ||--O{ game : "played"
user_data {
string username PK
int highscore
int total_score
int total_playtime
int average_score
int games_played
}
```