diff --git a/src/main/resources/db/migration/V6__Create_indices_on_AKTIVITETSKRAV_tables.sql b/src/main/resources/db/migration/V6__Create_indices_on_AKTIVITETSKRAV_tables.sql new file mode 100644 index 0000000..7aba6b9 --- /dev/null +++ b/src/main/resources/db/migration/V6__Create_indices_on_AKTIVITETSKRAV_tables.sql @@ -0,0 +1,9 @@ +CREATE INDEX aktivitetkrav_vurdering_index ON TABLE AKTIVITETSKRAV_VURDERING ( + person_ident, + siste_vurdering_uuid +); + +CREATE INDEX aktivitetkrav_varsel_index ON TABLE AKTIVITETSKRAV_VARSEL ( + person_ident, + vurdering_uuid +);