Refactor standard relations update at custom object renaming (#8638)

Refactoring update of standard relations when a custom object is
renamed, after observing occasional issues.

---------

Co-authored-by: Weiko <corentin@twenty.com>
This commit is contained in:
Marie
2024-11-21 15:54:12 +01:00
committed by GitHub
parent cf73e32969
commit 670c8a0b98
7 changed files with 208 additions and 73 deletions

View File

@ -332,6 +332,7 @@ export class RelationMetadataService extends TypeOrmQueryService<RelationMetadat
type: FieldMetadataType.UUID,
objectMetadataId: relationMetadataInput.toObjectMetadataId,
workspaceId: relationMetadataInput.workspaceId,
settings: { isForeignKey: true },
};
}