database/migrations/2018_10_12_060734_update_books_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('books', function(Blueprint $table)
        {
            $table->dropForeign('books_publisher_id_foreign');
            $table->dropColumn('publisher_id');
        });
    }
public function down ( ) { Schema :: table ( 'books' , function ( Blueprint $ table ) { $ table -> dropForeign ( 'books_publisher_id_foreign' ) ; $ table -> dropColumn ( 'publisher_id' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .