feat: audit git ssh key regeneration (#4544)

This commit is contained in:
Colin Adler
2022-10-14 16:25:46 -05:00
committed by GitHub
parent dd8ebf10db
commit 7ec88bf841
8 changed files with 63 additions and 22 deletions

View File

@ -18,7 +18,7 @@ FROM
WHERE
user_id = $1;
-- name: UpdateGitSSHKey :exec
-- name: UpdateGitSSHKey :one
UPDATE
gitsshkeys
SET
@ -26,7 +26,9 @@ SET
private_key = $3,
public_key = $4
WHERE
user_id = $1;
user_id = $1
RETURNING
*;
-- name: DeleteGitSSHKey :exec
DELETE FROM