test(places): give the hand-built places tables the Amap id column

This commit is contained in:
Maurice
2026-09-12 18:02:55 +02:00
parent 79095823e5
commit 11b69ae815
4 changed files with 6 additions and 3 deletions
+3
View File
@@ -4588,6 +4588,9 @@ function runMigrations(db: Database.Database): void {
const cols = db.prepare("SELECT name FROM pragma_table_info('budget_settlements')").all() as Array<{ name: string }>;
if (!cols.some(c => c.name === 'settled_at')) {
db.exec('ALTER TABLE budget_settlements ADD COLUMN settled_at TEXT');
}
},
/**
* Amap (高德) as a keyed places provider.
*