Switched to postgres from sqlite to work on heroku