feat: adds better gpx track views

This commit is contained in:
Moritz Enderle
2026-03-31 00:10:33 +02:00
parent ad329eddb9
commit 3aaa6e916b
18 changed files with 146 additions and 17 deletions
+4
View File
@@ -427,6 +427,10 @@ function runMigrations(db: Database.Database): void {
db.prepare("UPDATE addons SET type = 'integration' WHERE id = 'mcp'").run();
} catch {}
},
() => {
// GPX full route geometry stored as JSON array of [lat,lng] pairs
try { db.exec('ALTER TABLE places ADD COLUMN route_geometry TEXT'); } catch {}
},
];
if (currentVersion < migrations.length) {