Changed from sqlite3 to PostgreSQL database to deploy to Heroku