Fix workspace sync issue (#6121)
Fixing an issue with typeORM not fetching existing metadata collection while syncing fields and relations
This commit is contained in:
@ -45,7 +45,6 @@ export class WorkspaceSyncFieldMetadataService {
|
||||
where: {
|
||||
workspaceId: context.workspaceId,
|
||||
// We're only interested in standard fields
|
||||
fields: { isCustom: false },
|
||||
},
|
||||
relations: ['dataSource', 'fields'],
|
||||
});
|
||||
|
||||
@ -46,7 +46,6 @@ export class WorkspaceSyncRelationMetadataService {
|
||||
await objectMetadataRepository.find({
|
||||
where: {
|
||||
workspaceId: context.workspaceId,
|
||||
fields: { isCustom: false },
|
||||
},
|
||||
relations: ['dataSource', 'fields'],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user