95ec91daa1
* Create credential verifier in authenticator * Add new version of peer storage with client id * Fix v1 to what it was before * Compact storage into ecash verifier * Fix non-linux build * Less overlapping conditions * Remove moved code * Use handler thread for each peer * Re-spawn stored handles at startup * Keep new function without async & Result * Put query peer in function too * Query bandwidth * Fix clippy * Replace tap with inspect_err * Fix copyright year * Handle version 2 on the reqeust deser * Add protocol type in req/resp messages
11 lines
253 B
SQL
11 lines
253 B
SQL
/*
|
|
* Copyright 2024 - Nym Technologies SA <contact@nymtech.net>
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
ALTER TABLE wireguard_peer
|
|
ADD COLUMN client_id INTEGER REFERENCES clients(id) DEFAULT NULL;
|
|
|
|
ALTER TABLE wireguard_peer
|
|
DROP COLUMN suspended;
|