routewatch/internal/database
sneak a165ecf759 Fix prefix stats by counting from live routes tables
The prefixes_v4 and prefixes_v6 tables were never being populated
because GetOrCreatePrefix was not being called anywhere. Since we
already track all prefixes in live_routes_v4 and live_routes_v6,
update stats queries to count distinct prefixes from those tables.
2025-07-28 22:44:44 +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 prefix stats by counting from live routes tables 2025-07-28 22:44:44 +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 Split prefixes table into prefixes_v4 and prefixes_v6 2025-07-28 22:41:42 +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