Make concurrency safer and migration-ready.
Recent revisions are kept. Restoring one creates a new revision.