Merge pull request #4244 from turbo124/master

Fix for task deleted_at
This commit is contained in:
David Bomba 2020-11-01 21:02:18 +11:00 committed by GitHub
commit 69beb3b05d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1204,6 +1204,10 @@ trait GenerateMigrationResources
foreach ($projects as $project)
{
if(!($project->deleted_at instanceof Carbon))
$project->deleted_at = Carbon::parse($project->deleted_at);
$transformed[] = [
'id' => $project->id,
'company_id' => $this->account->id,