Skip to content
This repository has been archived by the owner on Nov 3, 2018. It is now read-only.

Migration

Matt Johnson edited this page Jan 26, 2013 · 1 revision
Migrating to Temporal Versioning

If you already have documents stored in your database before you enable temporal versioning for that document type, the documents will be migrated when first loaded. The non-temporal document will be rewritten as a temporal document that was always effective (starting at DateTimeOffset.MinValue).

The bundle does not convert all of your documents automatically. If you want to ensure all documents are participating in indexes correctly, you need to go through your database and load each document at least once.

Migrating away from Temporal Versioning

If you decide to disable temporal versioning for one or more document types, The bundle will not make any changes to your data. The existing "current" documents are immediately usable, but you may want to delete any temporal revision documents that exists so they don't interfere with your indexes.