check_migartions: rename `delta` to `pending`.