Fix identify remaining entities command to cover soft-deleted rows (#17304)
# Introduction Some entities aren't passing the migration due to not covering the soft deleted rows ## Entities that implements soft deletion Inserted with universal programmatically - rowLevelPermissionPredicate - rowLevelPermissionPredicateGroup - pageLayout - pageLayoutTab - pageLayoutWidget Legacy might contains null - viewFilterGroup - serverlessFunction - viewSort
This commit is contained in:
+2
@@ -101,6 +101,7 @@ export class IdentifyRemainingEntitiesMetadataCommand extends ActiveOrSuspendedW
|
||||
workspaceId,
|
||||
applicationId: IsNull(),
|
||||
},
|
||||
withDeleted: true,
|
||||
});
|
||||
|
||||
if (entitiesWithoutApplicationId.length === 0) {
|
||||
@@ -164,6 +165,7 @@ export class IdentifyRemainingEntitiesMetadataCommand extends ActiveOrSuspendedW
|
||||
workspaceId,
|
||||
applicationId: IsNull(),
|
||||
},
|
||||
withDeleted: true,
|
||||
});
|
||||
|
||||
if (viewSortsWithoutApplicationId.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user