also validate database types