Hi Bubbler’s, I’m hoping someone can help me with the below issue.
I’m building an app to help me track my workouts and I’d like the ability to repeat a previously completed workout.
Database set up:
“List of Exercises” containing all the exercises in the workout.
“List of sets” containing all the Sets in this Exercise
“Workout” containing the Workout this exercise belongs to.
“Workout exercise” containing the Exercise this set belongs to.
I’ve attempted to achieve this by creating a new Workout and copying all Workout Exercises and all Workout Sets.
The problem I’m having is then placing the sets and exercises in their relevant data fields?
Have I gone the right way about this or is there a much simpler way?
Any help is much appreciated,