fixed postgres_schema.sql