mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 14:04:04 +00:00
fix(db): add locale repair migration hygiene guard
This commit is contained in:
2
packages/db/drizzle/0009_quiet_wallflower.sql
Normal file
2
packages/db/drizzle/0009_quiet_wallflower.sql
Normal 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
|
||||
@@ -64,6 +64,13 @@
|
||||
"when": 1773047624171,
|
||||
"tag": "0008_lowly_spiral",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 9,
|
||||
"version": "7",
|
||||
"when": 1773055200000,
|
||||
"tag": "0009_quiet_wallflower",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user