Skip to content
  • Dries Buytaert's avatar
    - Patch #7582 by Gerhard: improved node revisions! · d9d6a6e0
    Dries Buytaert authored
    All node revisions were stored in a serialized field in the node table and retrieved for _each_ page view although they are rarely needed. We created a separate revisions table which would be in principle identical to the node table, only that it could have several old copies of the same node.  This also allows us to revision-related information, and to provide log entries to non-book pages when a new revision is being created.
    
    TODO:
    
    1. Provide upgrade instructions for node module maintainers!
    2. Upgrade modules that implement node types.
    3. Provide an upgarde path for revisions.  Dependency on the upgrade system.
    d9d6a6e0