You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
user_center/database/migrations/2021_02_04_062318_create_bi...

70 lines
2.8 KiB

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBihuCarInfoTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('uc_bihu_car_info_t', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('CarUsedType', 100)->nullable();
$table->string('LicenseNo', 50)->nullable()->index();
$table->string('LicenseOwner', 200)->nullable();
$table->string('InsuredName', 200)->nullable();
$table->string('PostedName', 200)->nullable();
$table->string('IdType', 100)->nullable();
$table->string('CredentislasNum', 100)->nullable();
$table->string('CityCode', 50)->nullable();
$table->string('EngineNo', 100)->nullable()->index();
$table->string('ModleName', 200)->nullable();
$table->string('CarVin', 100)->nullable()->index();
$table->string('RegisterDate', 50)->nullable();
$table->string('ForceExpireDate', 50)->nullable();
$table->string('BusinessExpireDate', 50)->nullable();
$table->string('PurchasePrice', 100)->nullable();
$table->string('SeatCount', 50)->nullable();
$table->string('FuelType', 50)->nullable();
$table->string('ProofType', 100)->nullable();
$table->string('LicenseColor', 50)->nullable();
$table->string('ClauseType', 100)->nullable();
$table->string('RunRegion', 50)->nullable();
$table->string('InsuredIdCard', 100)->nullable();
$table->string('InsuredIdType', 100)->nullable();
$table->string('InsuredMobile', 50)->nullable();
$table->string('HolderIdCard', 100)->nullable();
$table->string('HolderIdType', 100)->nullable();
$table->string('HolderMobile', 50)->nullable();
$table->string('RateFactor1', 50)->nullable();
$table->string('RateFactor2', 50)->nullable();
$table->string('RateFactor3', 50)->nullable();
$table->string('RateFactor4', 50)->nullable();
$table->string('IsPublic', 10)->nullable();
$table->string('BizNo', 100)->nullable();
$table->string('ForceNo', 100)->nullable();
$table->string('ExhaustScale', 50)->nullable();
$table->string('Organization', 200)->nullable();
$table->string('BusinessStatus', 20)->nullable();
$table->string('StatusMessage', 100)->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('uc_bihu_car_info_t');
}
}