mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
Merge pull request #644 from hannenijhuis/master
Fixed typo in migration vendors table
This commit is contained in:
commit
4b2b3617c4
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user