correct build events migration cursor use

glad i caught this in my own env before cutting the release. time to
start testing migrations, but that's really hard... :/