Split migration into two parts in order to use two versions of the same class