Fixing field ordering for Postgres adapter