<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ModifyOrder20170809 extends Migration { public function up() { Schema::table('order', function (Blueprint $onV5E) { $onV5E->string('payType', 20)->nullable()->comment('支付方式')->after('payFee'); $onV5E->tinyInteger('isPayed')->nullable()->comment('已支付')->after('payType'); }); } public function down() { } }