fix: column name in constraint

This commit is contained in:
2026-08-29 15:12:11 +02:00
parent ac2e66b731
commit d0de5b2982
@@ -86,7 +86,7 @@ CREATE TABLE workout_sets (
seconds SMALLINT, seconds SMALLINT,
weight_kg NUMERIC(5,2), weight_kg NUMERIC(5,2),
type TEXT NOT NULL DEFAULT 'working' type TEXT NOT NULL DEFAULT 'working'
CHECK (metric IN ('warm-up', 'working', 'drop')), CHECK (type IN ('warm-up', 'working', 'drop')),
note TEXT, note TEXT,
modified_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), modified_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),