-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/main/resources/db/migration/V1.0.33__update_table_med_kilde.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
||
|
||
|
||
|
19 changes: 19 additions & 0 deletions
19
src/main/resources/db/migration/V1.0.34__update_table_barn_i_husstand_periode.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
||
|
||
|
||
|