Fix index cache computation (#20933)
## Introduction Should rely on custom typeorm entity loader layer that inspects the upgradeMigration that has bene run to dynamically request existing col only
This commit is contained in:
-11
@@ -46,17 +46,6 @@ export class WorkspaceFlatIndexMapCacheService extends WorkspaceCacheProvider<
|
||||
},
|
||||
withDeleted: true,
|
||||
relationLoadStrategy: 'join',
|
||||
select: {
|
||||
indexFieldMetadatas: {
|
||||
id: true,
|
||||
indexMetadataId: true,
|
||||
fieldMetadataId: true,
|
||||
order: true,
|
||||
subFieldName: true,
|
||||
createdAt: true,
|
||||
updatedAt: true,
|
||||
},
|
||||
},
|
||||
relations: ['indexFieldMetadatas'],
|
||||
}),
|
||||
this.applicationRepository.find({
|
||||
|
||||
Reference in New Issue
Block a user