Summary
We need a clean migration path for local and tenant databases that currently have content-owned rows living in asset_associations.
Scope
- Add/create
content_assets where missing
- Backfill existing content-owned asset links from
asset_associations into content_assets
- Decide and document whether the old rows should be deleted after backfill or left for a one-time cleanup step
- Ensure migration flow works through normal SMRT schema tooling
- Document rollout steps for local and tenant DBs
Definition Of Done
- A tenant with content-owned rows in
asset_associations can migrate cleanly to content_assets
- The rollback does not require manual SQL guesswork per tenant
- Migration notes clearly explain the expected before/after state
Related
Summary
We need a clean migration path for local and tenant databases that currently have content-owned rows living in
asset_associations.Scope
content_assetswhere missingasset_associationsintocontent_assetsDefinition Of Done
asset_associationscan migrate cleanly tocontent_assetsRelated