mirror of
https://github.com/twentyhq/twenty
synced 2026-04-21 13:37:22 +00:00
Fix indexFieldMetadata select missing workspaceId
This commit is contained in:
parent
891d6a375c
commit
98727eb40e
1 changed files with 8 additions and 2 deletions
|
|
@ -47,8 +47,14 @@ export class WorkspaceFlatIndexMapCacheService extends WorkspaceCacheProvider<
|
|||
withDeleted: true,
|
||||
relationLoadStrategy: 'join',
|
||||
select: {
|
||||
// Note: We need all IndexFieldMetadataEntity in order to build a FlatIndex
|
||||
indexFieldMetadatas: true,
|
||||
indexFieldMetadatas: {
|
||||
id: true,
|
||||
indexMetadataId: true,
|
||||
fieldMetadataId: true,
|
||||
order: true,
|
||||
createdAt: true,
|
||||
updatedAt: true,
|
||||
},
|
||||
},
|
||||
relations: ['indexFieldMetadatas'],
|
||||
}),
|
||||
|
|
|
|||
Loading…
Reference in a new issue