Update unique fields on standard field - include soft deleted records (#14562)
Done : - migrate standard unique fields (add : -old) - deactivate defaultWhereClause - restore soft deleted if upserted (same for contact creation in mailing sync) fixes https://github.com/twentyhq/twenty/issues/14443 --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
+4
-1
@@ -269,7 +269,10 @@ export class IndexMetadataService {
|
||||
queryRunner,
|
||||
}: {
|
||||
workspaceId: string;
|
||||
objectMetadata: ObjectMetadataEntity;
|
||||
objectMetadata: Pick<
|
||||
ObjectMetadataEntity,
|
||||
'nameSingular' | 'isCustom' | 'id'
|
||||
>;
|
||||
fieldMetadataToIndex: Partial<FieldMetadataEntity>[];
|
||||
queryRunner?: QueryRunner;
|
||||
}) {
|
||||
|
||||
Reference in New Issue
Block a user