Reworked two method in PostgreSQL schema: fields and data_types.