From e72e86163d52bbd4833a74c610cc9b7a57cb5645 Mon Sep 17 00:00:00 2001 From: Christian Klem Date: Mon, 21 Aug 2023 15:58:56 +0200 Subject: [PATCH] Fiks feil i sql Co-authored-by: Thomas Dufourd --- src/main/kotlin/no/nav/lydia/virksomhet/VirksomhetRepository.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/no/nav/lydia/virksomhet/VirksomhetRepository.kt b/src/main/kotlin/no/nav/lydia/virksomhet/VirksomhetRepository.kt index 4b9d8ab7..ab712c20 100644 --- a/src/main/kotlin/no/nav/lydia/virksomhet/VirksomhetRepository.kt +++ b/src/main/kotlin/no/nav/lydia/virksomhet/VirksomhetRepository.kt @@ -267,7 +267,7 @@ class VirksomhetRepository(val dataSource: DataSource) { :naeringskode2, :naeringskode3 ) - ON CONFLICT DO (virksomhet) UPDATE SET + ON CONFLICT (virksomhet) DO UPDATE SET naeringskode1 = :naeringskode1, naeringskode2 = :naeringskode2, naeringskode3 = :naeringskode3,