Fix composite type update migration builder (#9959)
This commit is contained in:
@ -97,12 +97,6 @@ export class AddContextToActorCompositeTypeCommand extends ActiveWorkspacesComma
|
||||
field.object.nameSingular,
|
||||
);
|
||||
|
||||
if (!dryRun) {
|
||||
await this.workspaceMetadataVersionService.incrementMetadataVersion(
|
||||
workspaceId,
|
||||
);
|
||||
}
|
||||
|
||||
if (!dryRun) {
|
||||
const rowsToUpdate = await fieldRepository.update(
|
||||
{
|
||||
@ -124,6 +118,12 @@ export class AddContextToActorCompositeTypeCommand extends ActiveWorkspacesComma
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (!dryRun) {
|
||||
await this.workspaceMetadataVersionService.incrementMetadataVersion(
|
||||
workspaceId,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
private async addContextColumn(
|
||||
|
||||
Reference in New Issue
Block a user