diff --git a/internal/database/migrations/000003_create_workouts.up.sql b/internal/database/migrations/000003_create_workouts.up.sql index 50347b7..1e3b8fc 100644 --- a/internal/database/migrations/000003_create_workouts.up.sql +++ b/internal/database/migrations/000003_create_workouts.up.sql @@ -47,6 +47,7 @@ CREATE TABLE template_exercises ( target_reps SMALLINT, target_seconds SMALLINT, notes TEXT, + modified_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), PRIMARY KEY (template_id, exercise_id),