update crate_versions cv
set yanked = $3
from crates c
where c.name = $1
  and c.registry = ''
  and cv.crate = c.id
  and cv.version = $2
returning c.name, cv.version, cv.yanked;
