database/migrations/2016_07_08_020343_add_foreign_keys_to_partidas_table.php
/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
	{
		Schema::table('partidas', function(Blueprint $table)
		{
			$table->dropForeign('fk_partidas_campeonatos1');
			$table->dropForeign('fk_partidas_status1');
			$table->dropForeign('fk_partidas_times1');
			$table->dropForeign('fk_partidas_times2');
			$table->dropForeign('fk_partidas_processada');
		});
	}
public function down ( ) { Schema :: table ( 'partidas' , function ( Blueprint $ table ) { $ table -> dropForeign ( 'fk_partidas_campeonatos1' ) ; $ table -> dropForeign ( 'fk_partidas_status1' ) ; $ table -> dropForeign ( 'fk_partidas_times1' ) ; $ table -> dropForeign ( 'fk_partidas_times2' ) ; $ table -> dropForeign ( 'fk_partidas_processada' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .