Design schemas and queries that hold up.
Recent revisions are kept. Restoring one creates a new revision.