-
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.
Ta i bruk denormaliserte felter i oppgavefelt_verdi_aktiv (steg 3) (#…
- Loading branch information
Showing
6 changed files
with
26 additions
and
41 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
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
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
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
4 changes: 4 additions & 0 deletions
4
src/main/resources/migreringer/V1.0_0073__oppgavefeltverdi_aktiv_denormaliser_not_null.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,4 @@ | ||
|
||
alter table oppgavefelt_verdi_aktiv alter column omrade_ekstern_id set not null; | ||
alter table oppgavefelt_verdi_aktiv alter column feltdefinisjon_ekstern_id set not null; | ||
alter table oppgavefelt_verdi_aktiv alter column oppgavetype_ekstern_id set not null; |
5 changes: 5 additions & 0 deletions
5
src/main/resources/migreringer/V1.0_0074__oppgavefeltverdi_aktiv_denormaliser_indekser.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,5 @@ | ||
|
||
create index idx_oppgavefelt_verdi_aktiv_denorm_1 on oppgavefelt_verdi_aktiv(oppgave_id, omrade_ekstern_id, feltdefinisjon_ekstern_id); | ||
create index idx_oppgavefelt_verdi_aktiv_denorm_2 on oppgavefelt_verdi_aktiv(oppgave_id, verdi); | ||
create index idx_oppgavefelt_verdi_aktiv_denorm_3 on oppgavefelt_verdi_aktiv(oppgave_id, omrade_ekstern_id, feltdefinisjon_ekstern_id, oppgavetype_ekstern_id, verdi); | ||
create index idx_oppgavefelt_verdi_aktiv_denorm_4 on oppgavefelt_verdi_aktiv(feltdefinisjon_ekstern_id, verdi); |