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