update payment migration
This commit is contained in:
@@ -488,7 +488,7 @@ class LelongController extends Controller
|
||||
$resit->lelong_id = $id;
|
||||
$resit->reference_no = $reference_no;
|
||||
$resit->billplz_id = '';
|
||||
$resit->total_payment = '';
|
||||
$resit->total_payment = '0.00';
|
||||
$resit->resit_type = 2; // 1 = fee , 2 = bid
|
||||
$resit->save();
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ class CreatePaymentTable extends Migration
|
||||
$table->unsignedBigInteger('lelong_id')->unsigned();
|
||||
$table->string('reference_no')->nullable();
|
||||
$table->string('billplz_id');
|
||||
$table->decimal('total_payment', $precision = 9, $scale = 2);
|
||||
$table->decimal('total_payment', $precision = 11, $scale = 2);
|
||||
$table->string('resit_type'); // 1 = fee , 2 = bid
|
||||
$table->string('status')->nullable(); //status => 1 = paid , 2 = pending
|
||||
$table->timestamp('paid_at')->nullable();
|
||||
|
||||
Reference in New Issue
Block a user