database/migrations/2018_08_22_132442_create_transactions_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('transactions', function (Blueprint $table) {
            $table->dropForeign(['company_id', 'order_id']);
        });
        Schema::dropIfExists('transactions');
    }
public function down ( ) { Schema :: table ( 'transactions' , function ( Blueprint $ table ) { $ table -> dropForeign ( [ 'company_id' , 'order_id' ] ) ; } ) ; Schema :: dropIfExists ( 'transactions' ) ; }
Reverse the migrations.
Reverse the migrations .