converted dev database to postgres