Photo migration order needs ID generation old->new