Add support for postgresql
Use the correct alias for the user table name
Merge pull request #67 from chris68/postgresql-support

Add support for postgresql