Third attempt to create something that will work on Heroku, using PostgreSQL...this time :)