From 8f15f16d1c4273523ab0dfca25499b8453ea121d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Wed, 19 Aug 2026 05:32:11 +0000 Subject: [PATCH] restore dav_app_passwords to the db:push barrel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Missed when calendar and contacts became core in 9c309c5a: the routers were uncommented but `export * from './dav/schema'` was not, so drizzle never saw the table and bun db:push never created it. Alpha surfaced it as an unhandled "Failed query: select ... from dav_app_passwords" on every boot. The table holds the DAV app passwords a phone authenticates with, so the sync door was mounted, answering 401 with a correct WWW-Authenticate header, and incapable of ever accepting a credential — nothing could mint one. Same shape as the hazard already recorded for the wallet, soulseek and jellyfin: a schema commented out of the barrel is invisible to db:push, which silently means the table is never created and, where one already exists, that it would be dropped. Co-Authored-By: Claude Opus 5 --- src/databases/officer_db/src/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/databases/officer_db/src/schema.ts b/src/databases/officer_db/src/schema.ts index efa142d2..39b24433 100644 --- a/src/databases/officer_db/src/schema.ts +++ b/src/databases/officer_db/src/schema.ts @@ -47,7 +47,7 @@ export * from './service-connections/schema'; // service_connections // ── Plugins — uncomment when the plugin is installed ───────────────────────────────────────────── // export * from './notify/schema'; // push_devices officer-notify -// export * from './dav/schema'; // dav_app_passwords officer-caldav +export * from './dav/schema'; // dav_app_passwords officer-caldav // ── Plugin tables are NOT here ─────────────────────────────────────────────────────────────────── //