Add index to lifecycle table