public function down() { Schema::table('tarefas', function (Blueprint $table) { $table->dropForeign('tarefas_user_id_foreign'); $table->dropColumn('user_id'); }); }