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