Add PostgreSQL model example

Closes #1