domverse 000391f7fc
All checks were successful
Deploy / deploy (push) Successful in 36s
fix: guard migrations against fresh-database installs
On a fresh DB, migrations ran before the schema was applied and tried to
operate on tables that didn't exist yet (routes, scans), causing:
  "no such table: routes" on _migrate_add_routes_unique_index
  "no such table: scans" on _migrate_add_scheduled_scan_id_to_scans

Added table-existence checks so both migrations bail out when the table
isn't there yet. The schema's CREATE TABLE IF NOT EXISTS handles fresh
installs correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 12:35:45 +01:00
2026-02-21 11:50:44 +01:00
Description
No description provided
Readme 778 KiB
Languages
Python 65.8%
TypeScript 33.3%
CSS 0.6%
JavaScript 0.2%
HTML 0.1%