Skip to content

Commit

Permalink
Oppdatere kilde
Browse files Browse the repository at this point in the history
  • Loading branch information
s148719 committed Nov 20, 2023
1 parent 1c7b7e5 commit adc4069
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ enum class BoStatusType {

@Schema(enumAsRef = true)
enum class Kilde {
MANUELT,
MANUELL,
OFFENTLIG,
}

Expand All @@ -30,38 +30,24 @@ enum class SivilstandType {
@Schema(enumAsRef = true)
enum class Behandlingstype {
BIDRAG,

FORSKUDD,

BIDRAG18AAR,

EKTEFELLEBIDRAG,

MOTREGNING,

OPPFOSTRINGSBIDRAG,
}

@Schema(enumAsRef = true)
enum class SoknadType {
INDEKSREGULERING,

ALDERSJUSTERING,

OPPHØR,

ALDERSOPPHØR,

REVURDERING,

FASTSETTELSE,

INNKREVING,

KLAGE,

ENDRING,

ENDRING_MOTTAKER,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-- Table: SIVILSTAND

/*
UPDATE TABLE SIVILSTAND
SET KILDE = 'manuelt' WHERE KILDE = 'MANUELL';
UPDATE TABLE SIVILSTAND
SET KILDE = 'offentlig' WHERE KILDE = 'OFFENTLIG';
DELETE FROM FLYWAY_SCHEMA_HISTORY WHERE VERSION = '1.0.33';
*/

UPDATE TABLE SIVILSTAND
SET KILDE = 'MANUELL' WHERE KILDE = 'manuelt';
UPDATE TABLE SIVILSTAND
SET KILDE = 'OFFENTLIG' WHERE KILDE = 'offentlig' OR KILDE IS NULL;




Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-- Table: BARN_I_HUSSTAND_PERIODE

/*
UPDATE TABLE BARN_I_HUSSTAND_PERIODE
SET KILDE = 'manuelt' WHERE KILDE = 'MANUELL';
UPDATE TABLE BARN_I_HUSSTAND_PERIODE
SET KILDE = 'offentlig' WHERE KILDE = 'OFFENTLIG';
DELETE FROM FLYWAY_SCHEMA_HISTORY WHERE VERSION = '1.0.34';
*/

UPDATE TABLE BARN_I_HUSSTAND_PERIODE
SET KILDE = 'MANUELL' WHERE KILDE = 'manuelt';
UPDATE TABLE BARN_I_HUSSTAND_PERIODE
SET KILDE = 'OFFENTLIG' WHERE KILDE = 'offentlig' OR KILDE IS NULL;




0 comments on commit adc4069

Please sign in to comment.