<?php
 use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class ModifyPayOrderAddDetail extends Migration { public function up() { Schema::table('pay_order', function (Blueprint $table) { $table->string('body', 200)->nullable()->comment(''); $table->string('redirect', 200)->nullable()->comment(''); $table->bigInteger('id')->change(); }); } public function down() { } } 