Keeping workflow state and application data in the same Postgres database lets one transaction update both, simplifying idempotency and atomicity.