Who must do this: projects that assign company addresses to business units, and that upgrade from a
release before the split of @vendure-platform/org-accounts and @vendure-platform/org-hierarchy,
that is 0.x, including 0.6.x. Other projects
can skip this page.
Before the split, org-accounts stored the business unit of an address in the column
company_address.businessUnitId. Now org-hierarchy stores it in its own table,
company_business_unit_address. The migration that you generate for the new release drops the old column
and creates the new table. It does not copy the assignments. If you apply it without the steps below, every
address loses its business unit. The addresses stay, as company addresses.
Sign in with your Vendure Console account to read this documentation.