string('introduce')->nullable()->comment('说明'); $table->tinyInteger('allow_level')->default(0)->comment('数据权限0全部1部分2自己'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('roles', function (Blueprint $table) { $table->dropColumn('introduce'); $table->dropColumn('allow_level'); }); } };