Switch from sqlite3 to postgres for Heroku compatibility