We need batches again. Add something like a lastTouchedByBatchAt timestamp to Game that has the Batch startedAt on it so we can do a Game.where(lastTouchedByBatchAt=batch.startedAt) to get all the games touched by that batch or a >= for games touch by that batch or later.
Maybe store the json intermediate db with a batch for debugging. Postgres has jsonb.
We need batches again. Add something like a lastTouchedByBatchAt timestamp to Game that has the Batch startedAt on it so we can do a Game.where(lastTouchedByBatchAt=batch.startedAt) to get all the games touched by that batch or a >= for games touch by that batch or later.
Maybe store the json intermediate db with a batch for debugging. Postgres has jsonb.