From ce73cb451a6d4a7479842df98296057bf4027b23 Mon Sep 17 00:00:00 2001 From: Robin Dittmar Date: Sat, 29 Aug 2026 15:27:04 +0200 Subject: [PATCH] feat: added group_no to template_exercises, to allow grouping exercises to supersets --- internal/database/migrations/000003_create_workouts.up.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/database/migrations/000003_create_workouts.up.sql b/internal/database/migrations/000003_create_workouts.up.sql index 8b03d6f..524b0e4 100644 --- a/internal/database/migrations/000003_create_workouts.up.sql +++ b/internal/database/migrations/000003_create_workouts.up.sql @@ -43,6 +43,7 @@ CREATE TABLE template_exercises ( template_id UUID NOT NULL REFERENCES templates(id) ON DELETE CASCADE, exercise_id UUID NOT NULL REFERENCES exercises(id) ON DELETE CASCADE, position SMALLINT NOT NULL, + group_no SMALLINT, target_sets SMALLINT NOT NULL, target_reps SMALLINT, target_seconds SMALLINT,