Skip to content

Commit

Permalink
Refaktorering av sivilstand og boforhold og visningsnavn endepunkt
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur93 committed Nov 26, 2023
1 parent 1a86899 commit 95a0521
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

alter table SIVILSTAND
rename column SIVILSTAND_TYPE to SIVILSTAND_TYPE_OLD;

ALTER TABLE SIVILSTAND
ADD COLUMN SIVILSTAND TEXT;

UPDATE SIVILSTAND
SET SIVILSTAND = 'GIFT_SAMBOER'
WHERE sivilstand_type_old in ('GIFT', 'GIFT_SAMBOER');
WHERE sivilstand_type_old = 'GIFT';

UPDATE SIVILSTAND
SET SIVILSTAND = 'BOR_ALENE_MED_BARN'
Expand Down

0 comments on commit 95a0521

Please sign in to comment.