Skip to content

The open alternative to Salesforce, designed for AI.

fix(server): run 2-14 standard relation label/icon heal as a system build (#21667)

Charles Bochetb327999b0427
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-14/2-14-workspace-command-1799000040000-fix-standard-relation-field-labels-icons.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-14/2-14-workspace-command-1799000040000-fix-standard-relation-field-labels-icons.command.ts
index 6a4dc762329..8db06781c0a 100644
--- a/packages/twenty-server/src/database/commands/upgrade-version-command/2-14/2-14-workspace-command-1799000040000-fix-standard-relation-field-labels-icons.command.ts
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-14/2-14-workspace-command-1799000040000-fix-standard-relation-field-labels-icons.command.ts
@@ -132,6 +132,9 @@ export class FixStandardRelationFieldLabelsIconsCommand extends ActiveOrSuspende
workspaceId,
applicationUniversalIdentifier:
twentyStandardFlatApplication.universalIdentifier,
+ // These default relation fields are system-owned; mutating their
+ // label/icon is only permitted under a system build.
+ isSystemBuild: true,
},
);