The migration needs to adapt to newer code state