generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid insertion key dupls in
module_secrets
table by upserting…
… on conflict (#2105) Addresses part of #2084 Postgresql way to handle upserts: https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-upsert/ This PR fixes the issue for secrets since that's causing issues for the client team, but not for config, which has the same issue. I confirmed the test fails before this change but passes with it.
- Loading branch information
Showing
3 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.