Skip to content

Pattern for *PublishLogEntry to enable easy reverts #37

Description

@ormsbee

Right now, ComponentPublishLogEntry has a reference to the ComponentVersion being published, but not the one being replaced. This makes it harder to do reverts because we have to scan back through the table for the last version published. In a large library with many publishes over a long period of time, this could get expensive. But if we stored it as a separate field in ComponentPublishLogEntry, we would know what to revert back to in a time proportional to the size of the most recent publish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    data modelAnything relating to the relational models or more abstract "model" concepts around Learning Core.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions