Revert "Pass the (required) apiRes.rev directly"

We can't insert into a table while it's being created. We really need better
tests for this stuff.

This reverts commit 2ab810bd6e51e95328e9fc1916029100aed9db5f.