[postgresql] some fixes in pgModeler project + SCHEMA.sql