fix: added type column to workout_sets (warm-up, working, drop)

This commit is contained in:
2026-08-29 14:40:49 +02:00
parent 667811a88a
commit 9f79a5d73b
@@ -72,6 +72,8 @@ CREATE TABLE workout_sets (
reps SMALLINT,
seconds SMALLINT,
weight_kg NUMERIC(5,2),
type TEXT NOT NULL DEFAULT 'working'
CHECK (metric IN ('warm-up', 'working', 'drop')),
note TEXT,
modified_at TIMESTAMPTZ NOT NULL DEFAULT NOW()