PostgreSQL and assets fix for Heroku