routewatch/internal/database
sneak fc32090483 Fix JavaScript UI and complete database table migration
- Update status page JavaScript to reset all fields to '-' on error
- Fix status page to not show 'Connected' when API returns error
- Update remaining database methods to use new live_routes_v4/v6 tables
- Fix GetStatsContext to count routes from both IPv4 and IPv6 tables
- Fix UpsertLiveRoute to insert into correct table based on IP version
- Fix DeleteLiveRoute to determine table from prefix IP version
2025-07-28 22:39:01 +02:00
..
database_test.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00
database.go Fix JavaScript UI and complete database table migration 2025-07-28 22:39:01 +02:00
interface.go Add context cancellation support to database operations 2025-07-28 19:27:55 +02:00
models.go Separate IPv4 and IPv6 routes into different tables 2025-07-28 22:29:15 +02:00
schema.sql Separate IPv4 and IPv6 routes into different tables 2025-07-28 22:29:15 +02:00
slowquery.go Add context cancellation support to database operations 2025-07-28 19:27:55 +02:00
utils.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00