Switched database from sqlite3 to postgresql, since sqlite3 not supported by Heroku