better type overrides for SQL tables