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(), 'vendors' => $this->getVendors(),
'projects' => $this->getProjects(), 'projects' => $this->getProjects(),
'products' => $this->getProducts(), 'products' => $this->getProducts(),
'credits' => $this->getCreditsNotes(),
'invoices' => $this->getInvoices(), 'invoices' => $this->getInvoices(),
'recurring_invoices' => $this->getRecurringInvoices(), 'recurring_invoices' => $this->getRecurringInvoices(),
'quotes' => $this->getQuotes(), 'quotes' => $this->getQuotes(),
'credits' => $this->getCreditsNotes(),
'payments' => array_merge($this->getPayments(), $this->getCredits()), 'payments' => array_merge($this->getPayments(), $this->getCredits()),
'documents' => $this->getDocuments(), 'documents' => $this->getDocuments(),
'company_gateways' => $this->getCompanyGateways(), 'company_gateways' => $this->getCompanyGateways(),

View File

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