Skip to content

Commit d529dc6

Browse files
committed
Fix transfer-crates script
1 parent 3491f2f commit d529dc6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/bin/transfer-crates.rs

-5
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ fn transfer(tx: &postgres::Transaction) {
7373
WHERE owner_id = $2 AND crate_id = $3",
7474
&[&to.id, &from.id, &krate.id]).unwrap();
7575
assert_eq!(n, 1);
76-
77-
let n = tx.execute("UPDATE crates SET user_id = $1
78-
WHERE id = $2",
79-
&[&to.id, &krate.id]).unwrap();
80-
assert_eq!(n, 1);
8176
}
8277

8378
get_confirm("commit?");

0 commit comments

Comments
 (0)