database/migrations/2016_10_19_175748_create_bookings_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('bookings', function (Blueprint $table) {
            $table->dropForeign('bookings_booked_by_user_foreign');
            $table->dropForeign('bookings_service_id_foreign');
            $table->dropForeign('bookings_company_id_foreign');
            $table->dropForeign('bookings_stylist_id_foreign');
        });
        Schema::drop('bookings');
    }
public function down ( ) { Schema :: table ( 'bookings' , function ( Blueprint $ table ) { $ table -> dropForeign ( 'bookings_booked_by_user_foreign' ) ; $ table -> dropForeign ( 'bookings_service_id_foreign' ) ; $ table -> dropForeign ( 'bookings_company_id_foreign' ) ; $ table -> dropForeign ( 'bookings_stylist_id_foreign' ) ; } ) ; Schema :: drop ( 'bookings' ) ; }
Reverse the migrations.
Reverse the migrations .