This significantly speeds up deleting Builds, since it removes the need for a sequential scan on BuildSteps.
2 lines
109 B
SQL
2 lines
109 B
SQL
create index IndexBuildStepsOnPropagatedFrom on BuildSteps(propagatedFrom) where propagatedFrom is not null;
|