update payment migration
This commit is contained in:
@@ -18,6 +18,7 @@ class CreatePaymentTable extends Migration
|
||||
$table->unsignedBigInteger('user_id')->unsigned();
|
||||
$table->unsignedBigInteger('lelongbidder_id')->unsigned()->nullable();
|
||||
$table->unsignedBigInteger('lelongbid_id')->unsigned()->nullable();
|
||||
$table->unsignedBigInteger('lelong_id')->unsigned();
|
||||
$table->string('kodcaw')->nullable();
|
||||
$table->string('back_acc_pembeli')->nullable();
|
||||
$table->string('bank_acc_no_pembeli')->nullable();
|
||||
@@ -54,6 +55,10 @@ class CreatePaymentTable extends Migration
|
||||
$table->foreign('lelongbidder_id')
|
||||
->references('id')->on('lelongbidder')
|
||||
->onDelete('cascade');
|
||||
|
||||
$table->foreign('lelong_id')
|
||||
->references('id')->on('lelong')
|
||||
->onDelete('cascade');
|
||||
});
|
||||
|
||||
Schema::create('resit', function (Blueprint $table) {
|
||||
|
||||
Reference in New Issue
Block a user