<?php
 use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ModifyEvent20171224 extends Migration { public function up() { Schema::table('event', function (Blueprint $table) { $table->string('fieldCustom1', 100)->comment('字段')->nullable(); $table->string('fieldCustom2', 100)->comment('字段')->nullable(); $table->string('fieldCustom3', 100)->comment('字段')->nullable(); $table->string('fieldCustom4', 100)->comment('字段')->nullable(); $table->string('fieldCustom5', 100)->comment('字段')->nullable(); }); } public function down() { } } 