quantity migrate and rollback