update migrations for unique index fix missing total connection time include total connection time in get client query
fix rare issue with alias (maybe) update some tests