switched database to postgres