MDL-36804 Assign attempt history - Add missing index to upgrade step.