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

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;
foreach ($paymentTerms as $pTerm) {
$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) {