fix db column types