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:
Paul Rastoin
2026-01-21 15:36:26 +01:00
committed by GitHub
parent d74d74da4c
commit 54a9a1087b
@@ -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) {