public function down()
{
Schema::table('history', function (Blueprint $table) {
$table->dropForeign('history_type_id_foreign');
$table->dropForeign('history_user_id_foreign');
});
Schema::dropIfExists('history_types');
Schema::dropIfExists('history');
}