routewatch/internal/database
sneak 725d04ffa8 Split prefixes table into prefixes_v4 and prefixes_v6
- Create separate tables for IPv4 and IPv6 prefixes in schema.sql
- Update indexes for new prefix tables
- Update getOrCreatePrefix to use appropriate table based on IP version
- Update GetStatsContext to count prefixes from both tables
- Remove ip_version column since it's implicit in the table name
2025-07-28 22:41:42 +02:00
..
database_test.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00
database.go Split prefixes table into prefixes_v4 and prefixes_v6 2025-07-28 22:41:42 +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