From 2f298cfe22626ba7a66c36a0d62a52f7ce7891a3 Mon Sep 17 00:00:00 2001 From: Developer Date: Fri, 31 Jul 2026 20:22:21 +0700 Subject: [PATCH] =?UTF-8?q?fix(db):=20correct=20migration=200012=20timesta?= =?UTF-8?q?mp=20=E2=80=94=20drizzle=20skips=20when=20<=20last=20applied?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drizzle 0.45 migrate() runs only migrations with folderMillis > the latest created_at in __drizzle_migrations. Hand-written when was 1781580000000 (June 16) < stored 1781672400000 (June 17), so 0012 was silently skipped and the embedding column never created. Bumped when to now; migrator will apply it on next deploy. --- services/discord-gateway/drizzle/migrations/meta/_journal.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/discord-gateway/drizzle/migrations/meta/_journal.json b/services/discord-gateway/drizzle/migrations/meta/_journal.json index 2609f3f..8edda62 100644 --- a/services/discord-gateway/drizzle/migrations/meta/_journal.json +++ b/services/discord-gateway/drizzle/migrations/meta/_journal.json @@ -89,7 +89,7 @@ { "idx": 12, "version": "7", - "when": 1781580000000, + "when": 1785500000000, "tag": "0012_add_embedding_to_text_cache", "breakpoints": true }