Updates app to use Postgres