mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
fix(db): make the activity goals column migration idempotent
This commit is contained in:
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;
|
||||
Reference in new issue
Block a user