Fixes validation bug when using integer columns
Fixes column type checking if database is not created yet