database/migrations/2018_08_21_130807_create_orders_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::dropIfExists('orders');
        Schema::table('orders', function (Blueprint $table) {
            $table->dropForeign('company_id');
            $table->dropForeign('product_id');
            $table->dropForeign('marketplace_id');
        });
    }
public function down ( ) { Schema :: dropIfExists ( 'orders' ) ; Schema :: table ( 'orders' , function ( Blueprint $ table ) { $ table -> dropForeign ( 'company_id' ) ; $ table -> dropForeign ( 'product_id' ) ; $ table -> dropForeign ( 'marketplace_id' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .