Fixed typo in migration vendors table
This commit is contained in:
parent
bb4e6a184b
commit
c7b8f39e9f
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue