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