mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-10-22 14:11:27 +00:00
feat(scopes): import cached regional MeshMapper catalogues
This commit is contained in:
1 parent
831148ff5f
commit
c18e059e0d
25 files changed
+1260
-49
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user