changing db from sqlite to pg for heroku deployment