Create table for data in history