1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Reorder migrations

This commit is contained in:
David Bomba 2020-11-23 23:55:17 +11:00
parent 033bb5c957
commit 715998e67a
2 changed files with 1 additions and 2 deletions

View File

@ -233,10 +233,10 @@ class StepsController extends BaseController
'vendors' => $this->getVendors(),
'projects' => $this->getProjects(),
'products' => $this->getProducts(),
'credits' => $this->getCreditsNotes(),
'invoices' => $this->getInvoices(),
'recurring_invoices' => $this->getRecurringInvoices(),
'quotes' => $this->getQuotes(),
'credits' => $this->getCreditsNotes(),
'payments' => array_merge($this->getPayments(), $this->getCredits()),
'documents' => $this->getDocuments(),
'company_gateways' => $this->getCompanyGateways(),

View File

@ -1189,7 +1189,6 @@ trait GenerateMigrationResources
foreach ($tasks as $task)
{
if(!($task->deleted_at instanceof Carbon))
$task->deleted_at = Carbon::parse($task->deleted_at);