diff --git a/src/Migration/Cache.php b/src/Migration/Cache.php index df4170a..5b918d5 100644 --- a/src/Migration/Cache.php +++ b/src/Migration/Cache.php @@ -137,11 +137,7 @@ public function update(Resource $resource): void * if rows then updating the status counter only */ if ($resource->getName() == Resource::TYPE_ROW || $resource->getName() == Resource::TYPE_DOCUMENT) { - $status = $resource->getStatus(); - - if ($status != Resource::STATUS_SUCCESS) { - $this->add($resource); - } + $this->add($resource); return; }