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.
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.