Make db:history to save the data in the right format.