Commit f099668
committed
Added a db index to make the schedule list page faster
There was a slow query to get the latest run for a list of schedules1 parent e422fb5 commit f099668
File tree
3 files changed
+15
-0
lines changed- internal-packages/database/prisma
- migrations/20241106112827_task_run_add_schedule_id_created_at_index
- references/hello-world/src/trigger
3 files changed
+15
-0
lines changedLines 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 | |
|---|---|---|---|
| |||
1799 | 1799 | | |
1800 | 1800 | | |
1801 | 1801 | | |
| 1802 | + | |
| 1803 | + | |
1802 | 1804 | | |
1803 | 1805 | | |
1804 | 1806 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments