diff --git a/docs/personal-documentation/Luca/infrastructure-design.md b/docs/personal-documentation/Luca/infrastructure-design.md index e2bfc50..b2d3e89 100644 --- a/docs/personal-documentation/Luca/infrastructure-design.md +++ b/docs/personal-documentation/Luca/infrastructure-design.md @@ -11,6 +11,7 @@ to the data of the current exercise and show how well the user is performing. Down below is a visual representation of how this infrastructure will look like. +### General Infrastructure Diagram ```mermaid graph TB @@ -39,4 +40,22 @@ graph TB gyro <---> esp end +``` + +### Database Diagram + +For the design of our database, we've decided to only add a single table named `Exercise`. +This table contains all the information needed for the exercises. +```mermaid +classDiagram + class Exercise { + +ExerciseId : INT + +Name : VARCHAR + +Description : VARCHAR + +ShortDescription : VARCHAR + +ImageURL : VARCHAR + +VideoURL : VARCHAR + +MuscleGroup : VARCHAR + +Path : VARCHAR + } ``` \ No newline at end of file