instructions.txt 618 B

1234567
  1. Create a model for "sessions".
  2. A session is a when a user does a workout. So it should contain a reference to the original workout. Each session should have a list of exercises that the user completed. This could be cardio, weightlifting, etc. Check the exercise.rs model for information on what that should look like.
  3. Basically, a session is going to be when a user does a workout and records exactly what/how much/how long they did each exercise. While workout/exercise models are the outline, session is the actual completed/recorded thing done.
  4. Make sure that you create the sql table file and the rust model.