When you first create database and run simulation of your project, TeslaSCADA2 creates table with number of columns depending on Ingredients you setup. But then if you add some new Ingredients, unfortunately our application can't automatically add new columns in the table. You have to manually delete database in the DB folder where you installed TeslaSCADA. In your case it's historydatabaseVar.db. Then after rerun simulation new table with correct number of columns are created.