create table in history db