Adding extra information to sql exception message.

This is very useful when in the CLI doing migrations and seeding. To better understand the underlying error.

I'm unaware if this affects more that just the CLI.