diff --git a/src/Migration/Sources/CSV.php b/src/Migration/Sources/CSV.php index aee145d9..3d18dbc3 100644 --- a/src/Migration/Sources/CSV.php +++ b/src/Migration/Sources/CSV.php @@ -39,6 +39,9 @@ public function __construct( $this->filePath = $filePath; $this->resourceId = $resourceId; $this->database = new DatabaseReader($dbForProject); + + // full path + $this->filePath = str_ireplace($device->getRoot(), $device->getRoot() . DIRECTORY_SEPARATOR, $filePath); } public static function getName(): string