Hello Support,
what experience do you have for data migration within a product?
An example:
There are three versions of a product (v1.0; v1.1, v2.0).
In each version, the entities have been modified. Attributes added, removed and renamed. If attributes were removed, then only because the data is now held otherwise.
The product store user data in the ObjectDB-Database.
Example:
V1.0: EntityPerson{ String firstName; String familyName; String address; }
DB1: [firstName=”Max”; familyName=”Mustermann”; address=”26135 Oldenburg”]
V1.1: EntityPerson{ String name; String address; }
DB2: [name=”Max Mustermann”; address=”26135 Oldenburg”]
V2.0: EntityPerson{ String name; String zip; String city;}
DB3: [name=”Max Mustermann”; zip=”26135”; city=”Oldenburg”]
How can we load the Database DB1 with the Product in Version 1.1 or 2.0 with the new “EntityPerson” Class and without data loss?
We have a few ideas, but we think you have experience and advice on how this can be solved well.
Do you have any example that illustrates the procedure for data migration (Also throughout several versions.)?
Best regards, BTC-ES