Commit a3b80db
committed
perf(database): drop unused TaskRun(scheduleId, createdAt) index
The schedule list view reads from ClickHouse, so this composite
index served no Prisma query while still being maintained on every
TaskRun INSERT/UPDATE.1 parent 71d98b4 commit a3b80db
3 files changed
Lines changed: 8 additions & 2 deletions
File tree
- .server-changes
- internal-packages/database/prisma
- migrations/20260522150206_drop_task_run_schedule_id_created_at_idx
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1084 | 1084 | | |
1085 | 1085 | | |
1086 | 1086 | | |
1087 | | - | |
1088 | | - | |
1089 | 1087 | | |
1090 | 1088 | | |
1091 | 1089 | | |
| |||
0 commit comments