sequelize/sequelize — pull request #2382 by vihangm (2014-10-02 20:52:26+00:00)
Title: Fix error parsing for foreign key constraints

I checked the docs and looks like the error has been "on table

violates foreign key constraint " since postgres 7.4
http://www.postgresql.org/docs/7.4/static/tutorial-fk.html
http://www.postgresql.org/docs/9.3/static/tutorial-fk.html

I tried to run the tests, but ran into problems getting things set up cleanly on OSX