replaced sqlite3 for pg in order for things to work in heroku enviroment.