fix(db): add locale repair migration hygiene guard

This commit is contained in:
2026-03-09 15:54:50 +04:00
parent 2d8e0491cc
commit 63a2677601
7 changed files with 113 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
ALTER TABLE "households" ADD COLUMN IF NOT EXISTS "default_locale" text DEFAULT 'ru' NOT NULL;--> statement-breakpoint
ALTER TABLE "members" ADD COLUMN IF NOT EXISTS "preferred_locale" text;--> statement-breakpoint