database/migrations/2020_08_11_005927_create_table_schedules_services.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('schedules_services', function (Blueprint $table) {
            $table->dropForeign(['schedule_id']);
            $table->dropForeign(['service_id']);
        });
        Schema::dropIfExists('schedules_services');
    }
public function down ( ) { Schema :: table ( 'schedules_services' , function ( Blueprint $ table ) { $ table -> dropForeign ( [ 'schedule_id' ] ) ; $ table -> dropForeign ( [ 'service_id' ] ) ; } ) ; Schema :: dropIfExists ( 'schedules_services' ) ; }
Reverse the migrations.
Reverse the migrations .