Saving order history to database works.