Files
beacon-server/db/migrations/002_schema.sql
T
Enot (ded) Skelly 73fa0be858 fix(routes): don't store single hop routes
migration to remove old single hop routes included
2026-06-11 14:09:10 -07:00

8 lines
223 B
SQL

-- Copyright 2026 Beacon Contributors
-- SPDX-License-Identifier: agpl
-- 002_drop_single_hop_routes.sql
-- routes were being stored as long as the path was
-- greater than 0.
DELETE FROM known_routes WHERE hop_count < 2;