Configure deprecation for hasql-th