From 314d5656aea0cbaf83d56083ffc08ce26195d23a Mon Sep 17 00:00:00 2001 From: Roberto Date: Fri, 8 May 2026 15:12:35 +0200 Subject: [PATCH] Update adiuvAI: Drizzle migrator replaces hand-rolled DB migrations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps adiuvAI submodule to dac1d50 — initDb() now uses drizzle-orm/better-sqlite3/migrator against src/main/db/migrations/ instead of a hand-rolled CREATE TABLE IF NOT EXISTS string + try/catch ALTER blob. Includes a one-time bootstrap that seeds __drizzle_migrations on legacy DBs so existing data (incl. 51 user tasks) is preserved. Fixes the empty-tasks-list regression caused by migration 0004 (estimate column + task_attachments table) not being mirrored into db/index.ts. Co-Authored-By: Claude Opus 4.7 --- adiuvAI | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adiuvAI b/adiuvAI index e104ffc..dac1d50 160000 --- a/adiuvAI +++ b/adiuvAI @@ -1 +1 @@ -Subproject commit e104ffc3ab9b864f78c0d3727b1e33c492ff7997 +Subproject commit dac1d50b021b84b7aa31bd64318307dff5e188d0