1

In our production sytem, we have an existing relationship which is one to many. We would like to change this relationship to many to many due to business/data reasons.

What steps we need to take without loosing data and with no impact to production data, as we need to change *-items.xml file within hybris system.

Appreciate your inputs.

Thanks!

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
BNR
  • 89
  • 2
  • 13

1 Answers1

2

The database structure for one-to-many and many-to-many is different. One-to-many records uses 1 table (the many records are saved in the one table), but many-to-many uses an extra table.

I suggest to export existing data, update the items.xml (with platform update), and reimport the data.

geffchang
  • 3,279
  • 2
  • 32
  • 58