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:
+2
-1
@@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user