Fixed the broken API that comes from upgrade of sqlx package