Better database schemas, with migration scripts.
Recent revisions are kept. Restoring one creates a new revision.