mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-05-20 03:49:12 -05:00
Update database connection encryption and version field
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
UPDATE databases
|
||||
SET
|
||||
name = @name,
|
||||
connection_string = pgp_sym_encrypt(@connection_string, @encryption_key)
|
||||
connection_string = pgp_sym_encrypt(@connection_string, @encryption_key),
|
||||
pg_version = @pg_version
|
||||
WHERE id = @id
|
||||
RETURNING *;
|
||||
|
||||
Reference in New Issue
Block a user