feat(scopes): import cached regional MeshMapper catalogues

This commit is contained in:
n30nex authored and MrAlders0n committed 2026-09-30 07:19:03 -04:00
1 parent 831148ff5f
commit c18e059e0d
25 files changed
+1260 -49

No files matched your search

+3 -2
View File
@@ -49,10 +49,11 @@ VALUES ($1, $2, $3, $4)
ON CONFLICT (name) DO UPDATE SET
display_name = EXCLUDED.display_name,
transport_key = EXCLUDED.transport_key,
key_fingerprint = EXCLUDED.key_fingerprint;
key_fingerprint = EXCLUDED.key_fingerprint,
imported_only = FALSE;
-- name: GetTransportScopes :many
SELECT name, transport_key, key_fingerprint FROM transport_scopes ORDER BY name;
SELECT name, transport_key, key_fingerprint FROM transport_scopes WHERE NOT imported_only ORDER BY name;
-- name: GetTransportScopeByName :one
SELECT id FROM transport_scopes WHERE name = $1;