Migrated from sqllite3 to postgresql to deploy on Heroku