database/migrations/2016_08_03_132008_create_cycling_sessions_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('cycling_sessions', function(Blueprint $table) {
            $table->dropForeign(['user_id']);
        });
        Schema::drop('cycling_sessions');
    }
public function down ( ) { Schema :: table ( 'cycling_sessions' , function ( Blueprint $ table ) { $ table -> dropForeign ( [ 'user_id' ] ) ; } ) ; Schema :: drop ( 'cycling_sessions' ) ; }
Reverse the migrations.
Reverse the migrations .