Fixed typo in migration vendors table

This commit is contained in:
Hanne Nijhuis 2016-01-23 12:20:50 +01:00
parent bb4e6a184b
commit c7b8f39e9f

View File

@ -112,7 +112,7 @@ class CreateVendorsTable extends Migration
$i = 1; $i = 1;
foreach ($paymentTerms as $pTerm) { foreach ($paymentTerms as $pTerm) {
$data = ['public_id' => $i++]; $data = ['public_id' => $i++];
DB::table('paymet_terms')->where('id', $pTerm->id)->update($data); DB::table('payment_terms')->where('id', $pTerm->id)->update($data);
} }
Schema::table('invoices', function (Blueprint $table) { Schema::table('invoices', function (Blueprint $table) {