diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2024-08-02 06:36:20 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-02 06:36:20 +1000 |
| commit | b3dda1060880f9050807eb89c812902ff70c0bf5 (patch) | |
| tree | a7dd63412d6acddb832e49336da553c140a85aba | |
| parent | 6778acdc8e065df001387fee1e93b0dbb03046eb (diff) | |
fix(storage): change encryption key fails (#7613)
This fixes an issue where changing an encryption key for storage would fail.
Fixes #7611
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
| -rw-r--r-- | internal/storage/sql_provider_queries.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/storage/sql_provider_queries.go b/internal/storage/sql_provider_queries.go index 3577ca328..f6a415f8b 100644 --- a/internal/storage/sql_provider_queries.go +++ b/internal/storage/sql_provider_queries.go @@ -309,7 +309,8 @@ const ( queryFmtUpdateEncryptionEncryptedData = ` UPDATE %s - SET value = ?` + SET value = ? + WHERE id = ?;` ) const ( |
