From 20663797bb43c2aff4aa8a3d2cef48e957137665 Mon Sep 17 00:00:00 2001 From: Ugur Cenar Date: Mon, 27 Nov 2023 08:04:57 +0100 Subject: [PATCH] Refaktorering av sivilstand og boforhold og visningsnavn endepunkt --- .../V1.0.35__update_boforhold_sivilstand_kodeverk.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/db/migration/V1.0.35__update_boforhold_sivilstand_kodeverk.sql b/src/main/resources/db/migration/V1.0.35__update_boforhold_sivilstand_kodeverk.sql index 0a93af0c1..11ae5a8c7 100644 --- a/src/main/resources/db/migration/V1.0.35__update_boforhold_sivilstand_kodeverk.sql +++ b/src/main/resources/db/migration/V1.0.35__update_boforhold_sivilstand_kodeverk.sql @@ -8,11 +8,11 @@ ALTER TABLE SIVILSTAND UPDATE SIVILSTAND SET SIVILSTAND = 'GIFT_SAMBOER' -WHERE sivilstand_type_old = 'GIFT'; +WHERE SIVILSTAND_TYPE_OLD = 'GIFT'; UPDATE SIVILSTAND SET SIVILSTAND = 'BOR_ALENE_MED_BARN' -WHERE sivilstand_type_old = 'BOR_ALENE_MED_BARN'; +WHERE SIVILSTAND_TYPE_OLD = 'BOR_ALENE_MED_BARN'; alter table SIVILSTAND drop column SIVILSTAND_TYPE_OLD;