public static function dropIfExists($table) { //Method inherited from \Illuminate\Database\Schema\Builder return \Illuminate\Database\Schema\MySqlBuilder::dropIfExists($table); }
/** * Reverse the migrations. * * @return void */ public function down() { Schema::table('user_providers', function (Blueprint $table) { $table->dropForeign('user_providers_user_id_foreign'); }); Schema::dropIfExists('user_providers'); }