database/migrations/2017_02_02_202715_drop_customer_companies_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::create('customer_companies', function (Blueprint $table) {
            $table->integer('customer_id');
            $table->integer('company_id');
            $table->unique(['customer_id', 'company_id']);
        });
    }
public function down ( ) { Schema :: create ( 'customer_companies' , function ( Blueprint $ table ) { $ table -> integer ( 'customer_id' ) ; $ table -> integer ( 'company_id' ) ; $ table -> unique ( [ 'customer_id' , 'company_id' ] ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .