The migration schema changes existing schema to work in the updated Document Library structure
The migration script changes Bookshelf and Book types to Document Family types. It also combines the existing Name and Revision as the migrated object's Name. The migrated object uses the parent object's physical id as its Revision.
This table shows the changes made by the migration process for each type of migrated object:
Before Migration |
After Migration |
Type |
Name |
Type |
Name |
Bookshelf |
Fiction |
Document Family |
FictionA |
Book |
Fairy Tales |
Document Family |
Fairy TalesA |
The Has Bookshelves and Has Books relationships are migrated to the Subclass relationship; and the Has Documents relationship is migrated to the Classified Items relationship.
Bookshelves could be connected to more than one Document Library. When migrating, the process clones the bookshelf to maintain a one-to-one relationship between Document Library and Document Family. The migration script performs the same process for Books that have been added to multiple Bookshelves. Any documents added to a book are then connected to each of the cloned versions of that book, which are now Document Family objects.
For example, the structure exists prior to migration:

The migration process clones container objects, Bookshelves and Books, but it does not clone the end item (in this case, Generic Documents). This structure shows the migrated version of the above structure:

This charts also shows the migrated type and relationship names.