This creates a migration function that populates the block index bucket using data from the ffldb block index bucket if it does not exist.