Jump to:

3433 Posts in 1058 Topics by 734 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Datastore design - history & archival, object versions

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 245 Views
  • zard
    Avatar
    Community Member
    22 Posts

    Datastore design - history & archival, object versions Link to this post

    Hi,

    I am developing an extension to build custom itineraries. The idea is that user picks from a list of destinations and this is then added to the itinerary.

    I am now solving the problem of what happens to historical itineraries if a destination is modified or deleted? Ideally, once the itinerary is complete, I would like to "freeze" the destination object and make a link to that version from the itinerary. Then, if a destination is removed or modified, the original itinerary still shows the information when it was all valid.

    My thinking is to use Versioned dataextension, however, does this also deal with deletions?

    Versioned link: http://api.silverstripe.org/3.0/class-Versioned.html

    245 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.