Catch security and performance flaws in your SQL.
Recent revisions are kept. Restoring one creates a new revision.