pub async fn run(pool: &MySqlPool) -> Result<()>
批量加密 membertb 中的明文密码
membertb
遍历全表,对未加密的密码执行 bcrypt::hash(pwd, DEFAULT_COST) 替换。 已加密的密码自动跳过。
bcrypt::hash(pwd, DEFAULT_COST)
pool