balderdashy/sails-postgresql — pull request #78 by BenV (2014-07-08 02:56:02+00:00)
Title: Add uniqueness error

I basically copied the implementation for the MySQL adapter for this, as uniqueness constraints were generating a 500 response instead of 400, which seems bad. This may resolve https://github.com/balderdashy/sails-postgresql/issues/66. Let me know if you want any changes made.