Updating Postgres to get field types from the type collection