Skip to content

Commit

Permalink
some basic docs
Browse files Browse the repository at this point in the history
  • Loading branch information
robbyronk committed Oct 12, 2023
1 parent 7763c7e commit 158f502
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions docs/entity-relationships.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```mermaid
---
title: Entity Relationship Diagram
title: Future Entity Relationship Diagram
---
erDiagram
USER ||--o{ LAP-TIME : sets
Expand All @@ -14,13 +14,24 @@ erDiagram
CAR ||--o{ TUNE : has
```

```mermaid
---
title: Current Entity Relationship Diagram
---
erDiagram
USER ||--o{ LAP-TIME : sets
```

Lap Time
- Time (integer of milliseconds)
- User
- Car
- Track
- Tune
- Car (text)
- Track (text)
- Tune (text)
- Controller/Wheel/Keyboard
- Verified/Unverified
- Video Link
- Other Notes
- Other Notes

```shell
mix phx.gen.live Leaderboard LapTime lap_times lap_time_millis:integer car:string track:string tune:string input_method:string video_url:string notes:string user_id:references:users --binary-id
```

0 comments on commit 158f502

Please sign in to comment.