fix(db): make the activity goals column migration idempotent

This commit is contained in:
Marc-André Bombeck committed 2026-10-21 22:34:26 +02:00
1 parent 67d04630c3
commit 5f563623d7
1 file changed
+1 -1
@@ -6,4 +6,4 @@
--
-- Reversibility: dropping the column removes the goals; nothing else reads it.
ALTER TABLE "users" ADD COLUMN "activity_goals_json" JSONB;
ALTER TABLE "users" ADD COLUMN IF NOT EXISTS "activity_goals_json" JSONB;