Skip unchanged materialization and expire only open occurrences

This commit is contained in:
syntaxbullet
2026-09-08 16:16:04 +02:00
parent 4b8c7dff05
commit 30dee55799
6 changed files with 1275 additions and 12 deletions

View File

@@ -0,0 +1 @@
CREATE INDEX task_occurrences_open_idx ON task_occurrences (day_id) WHERE closed_at IS NULL;