addjusting example of documentation for using model with postgres adapter