1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 01:11:34 +02:00

Merge pull request #644 from hannenijhuis/master

Fixed typo in migration vendors table
This commit is contained in:
Hillel Coren 2016-01-23 18:33:31 +02:00
commit 4b2b3617c4

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) {