Refactor page layout tab and widgets migration (#16367)

# Introduction
Making columns nullable instead of required + metadata on the fly
migration in typeorm migration that could affect other breaking change
migrations to be run
This commit is contained in:
Paul Rastoin
2025-12-06 10:23:24 +01:00
committed by GitHub
parent 223082a4da
commit 3e57aa14d3
9 changed files with 186 additions and 109 deletions
@@ -13,7 +13,8 @@ export const transformPageLayoutTabEntityToFlatPageLayoutTab = (
position: pageLayoutTabEntity.position,
pageLayoutId: pageLayoutTabEntity.pageLayoutId,
workspaceId: pageLayoutTabEntity.workspaceId,
universalIdentifier: pageLayoutTabEntity.universalIdentifier,
universalIdentifier:
pageLayoutTabEntity.universalIdentifier ?? pageLayoutTabEntity.id,
applicationId: pageLayoutTabEntity.applicationId,
};
};