string('email')->nullable(); }); $permission = Permission::where('name', 'download-document')->first(); if ($permission == null) { Permission::create([ 'name' => 'download-document', 'label' => 'Download Documen' ]); } } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('regions', function ($table) { $table->dropColumn('email'); }); } };