<?php
 use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ModifyQuestion20180112 extends Migration { public function up() { Schema::table('question', function (Blueprint $table) { $table->string('source', 100)->nullable()->comment('试题来源'); }); } public function down() { } } 