DB script includes historyitem table now