update migrations for unique index fix missing total connection time include total connection time in get client query
update various small code bits