Merge branch 'fix/account-key-sql' into improvement/schema-fixes-hetzner

This commit is contained in:
GroovieGermanikus 2024-02-24 18:55:25 +01:00
commit 5bca8add90
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
1 changed files with 2 additions and 2 deletions

View File

@ -298,8 +298,8 @@ impl PostgresSession {
let statement = format!(
r#"
INSERT INTO banking_stage_results_2.accounts(account_key)
SELECT key FROM {}
ORDER BY key
SELECT account_key FROM {}
ORDER BY account_key
ON CONFLICT(account_key) DO NOTHING
"#,
temp_table