Fixing heroku sqlite/pg issue