Skip to content

Commit 71828d9

Browse files
committed
Ferdigstiltdato indeks på oppgave også
1 parent de4cfd6 commit 71828d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/resources/migreringer/V1.0_0077__partisjoner_oppgave.sql

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ CREATE TABLE oppgave_v3_lukket_2025_part
5757
FOR VALUES FROM ('2025-01-01') TO ('2026-01-01');
5858

5959
-- Indekser
60-
create index oppgave_id_idx on oppgave_v3_part(oppgave_ekstern_id, oppgave_ekstern_versjon);
60+
create index oppgave_id_idx on oppgave_v3_part(oppgave_ekstern_id);
61+
create index oppgave_lukket_ferdigstilt_dato_idx on oppgave_v3_lukket_part(ferdigstilt_dato desc, oppgave_ekstern_id);

0 commit comments

Comments
 (0)