foreignId('description_id')->nullable()->default(null)->references('id')->on('techniques')->constrained(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('events', function(Blueprint $table) { $table->dropForeign(['description_id']); $table->dropColumn('description_id'); }); } };