basic generation of PG schema (types & tables)