<?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 $EeFZ9) { $EeFZ9->bigIncrements('id'); $EeFZ9->timestamps(); $EeFZ9->string('code', 10)->nullable()->comment(''); $EeFZ9->string('payType', 20)->nullable()->comment('支付方式'); $EeFZ9->dateTime('expire')->nullable()->comment('过期时间'); $EeFZ9->tinyInteger('status')->nullable()->comment('订单状态'); $EeFZ9->string('biz', 20)->nullable()->comment('业务'); $EeFZ9->string('param', 400)->nullable()->comment('参数'); $EeFZ9->string('session', 400)->nullable()->comment('参数'); $EeFZ9->bigInteger('orderId')->nullable()->comment('订单ID'); $EeFZ9->index(array('created_at')); }); } public function down() { } }