migrate server to pg, change server uri in client