<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class MakeObjectiveNullable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('new_criteria', function (Blueprint $table) { $table->dropForeign('new_criteria_objective_id_foreign'); }); } /** * Reverse the migrations. * * @return void */ public function down() { // } }