Skip to content

Commit

Permalink
fikse migreringsskript
Browse files Browse the repository at this point in the history
  • Loading branch information
s148719 committed Nov 20, 2023
1 parent adc4069 commit 45881fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
-- Table: SIVILSTAND

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

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


Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
-- Table: BARN_I_HUSSTAND_PERIODE

/*
UPDATE TABLE BARN_I_HUSSTAND_PERIODE
UPDATE BARN_I_HUSSTAND_PERIODE
SET KILDE = 'manuelt' WHERE KILDE = 'MANUELL';
UPDATE TABLE BARN_I_HUSSTAND_PERIODE
UPDATE 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
UPDATE BARN_I_HUSSTAND_PERIODE
SET KILDE = 'MANUELL' WHERE KILDE = 'manuelt';
UPDATE TABLE BARN_I_HUSSTAND_PERIODE
UPDATE BARN_I_HUSSTAND_PERIODE
SET KILDE = 'OFFENTLIG' WHERE KILDE = 'offentlig' OR KILDE IS NULL;


Expand Down

0 comments on commit 45881fa

Please sign in to comment.