mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-01-24 13:38:26 -06:00
7 lines
177 B
SQL
7 lines
177 B
SQL
-- name: DatabasesServiceGetDatabase :one
|
|
SELECT
|
|
*,
|
|
pgp_sym_decrypt(connection_string::bytea, @encryption_key) AS decrypted_connection_string
|
|
FROM databases
|
|
WHERE id = @id;
|