get lelong details & get list karat
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateLelongbidderTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('lelongbidder', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->unsignedBigInteger('user_id')->unsigned();
|
||||
$table->integer('lelongbid_id');
|
||||
$table->string('nama_bidder');
|
||||
$table->decimal('hargabida');
|
||||
$table->integer('nosirilel');
|
||||
$table->datetime('t_lelong');
|
||||
$table->integer('nopembeli');
|
||||
$table->decimal('nilaimarhun');
|
||||
$table->decimal('cajlelong');
|
||||
$table->integer('status_bidder');
|
||||
$table->integer('status_bidder_win');
|
||||
$table->integer('status_payment');
|
||||
$table->datetime('masa_bidaan');
|
||||
$table->integer('status_jual')->nullable();
|
||||
$table->string('tempstatus_bidder');
|
||||
$table->datetime('deleted_at')->nullable();
|
||||
$table->integer('deleted_by')->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
|
||||
$table->foreign('user_id')
|
||||
->references('id')->on('users')
|
||||
->onDelete('cascade');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('lelongbidder');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user