fix(db): bump 0010/0011 journal timestamps so drizzle applies them

drizzle's migrator skips entries whose 'when' is older than the latest
applied migration's recorded created_at. 0010 (1778405570914) and 0011
(1778405817706) were generated before 0009's manually-set when of
1778464000000, so 'pnpm migrate' reported success but never ran the
auth + telegram-drop migrations against any DB whose 0009 had landed.

Bumping 0010/0011 to 0009.when + 1s/+2s makes the timestamps strictly
monotonic so future drizzle migrate runs apply them.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
yiekheng 2026-05-10 18:13:55 +08:00
parent b29d137c84
commit 1b7f553e24

View File

@ -75,14 +75,14 @@
{
"idx": 10,
"version": "7",
"when": 1778405570914,
"when": 1778464001000,
"tag": "0010_fancy_wolf_cub",
"breakpoints": true
},
{
"idx": 11,
"version": "7",
"when": 1778405817706,
"when": 1778464002000,
"tag": "0011_premium_grandmaster",
"breakpoints": true
}