<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreatePayOrderQuick extends Migration { public function up() { Schema::create('pay_order_quick', function (Blueprint $onV5E) { $onV5E->bigIncrements('id'); $onV5E->timestamps(); $onV5E->string('code', 10)->nullable()->comment(''); $onV5E->string('payType', 20)->nullable()->comment('支付方式'); $onV5E->dateTime('expire')->nullable()->comment('过期时间'); $onV5E->tinyInteger('status')->nullable()->comment('订单状态'); $onV5E->string('biz', 20)->nullable()->comment('业务'); $onV5E->string('param', 400)->nullable()->comment('参数'); $onV5E->string('session', 400)->nullable()->comment('参数'); $onV5E->bigInteger('orderId')->nullable()->comment('订单ID'); $onV5E->index(array('created_at')); }); } public function down() { } }