feat: added group_no to template_exercises, to allow grouping exercises to supersets

This commit is contained in:
2026-08-29 15:27:04 +02:00
parent 06846c611d
commit ce73cb451a
@@ -43,6 +43,7 @@ CREATE TABLE template_exercises (
template_id UUID NOT NULL REFERENCES templates(id) ON DELETE CASCADE, template_id UUID NOT NULL REFERENCES templates(id) ON DELETE CASCADE,
exercise_id UUID NOT NULL REFERENCES exercises(id) ON DELETE CASCADE, exercise_id UUID NOT NULL REFERENCES exercises(id) ON DELETE CASCADE,
position SMALLINT NOT NULL, position SMALLINT NOT NULL,
group_no SMALLINT,
target_sets SMALLINT NOT NULL, target_sets SMALLINT NOT NULL,
target_reps SMALLINT, target_reps SMALLINT,
target_seconds SMALLINT, target_seconds SMALLINT,