<?php
 use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ModifyDocAddAttr extends Migration { public function up() { Schema::table('doc', function (Blueprint $table) { $table->string('attrIcon', 200)->nullable()->comment(''); $table->string('attrSubTitle', 200)->nullable()->comment(''); $table->string('attrSummary', 200)->nullable()->comment(''); }); } public function down() { } } 