Update postgresql.js

Fixed small issue in updateOrCreate.  The ids is attribute on props not a function