diff --git a/database/migrations/2016_01_04_175228_create_vendors_table.php b/database/migrations/2016_01_04_175228_create_vendors_table.php index 8bc26c59ef..2524632662 100644 --- a/database/migrations/2016_01_04_175228_create_vendors_table.php +++ b/database/migrations/2016_01_04_175228_create_vendors_table.php @@ -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) {