Fix the PostgreSQL schema.

Fixes #5850
Update Changelog.

Refs #5850
Refs #5873