add history table create file

here is the create script for the history table