mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 05:21:15 +00:00
test(places): give the hand-built places tables the Amap id column
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user