Skip to content

The open alternative to Salesforce, designed for AI.

[fix] Migrated links field should be standard (#6387)

Marie082d55beacb4
diff --git a/packages/twenty-server/src/database/commands/upgrade-version/0-23/0-23-migrate-link-fields-to-links.command.ts b/packages/twenty-server/src/database/commands/upgrade-version/0-23/0-23-migrate-link-fields-to-links.command.ts
index 3151a95cfea..d95b789c588 100644
--- a/packages/twenty-server/src/database/commands/upgrade-version/0-23/0-23-migrate-link-fields-to-links.command.ts
+++ b/packages/twenty-server/src/database/commands/upgrade-version/0-23/0-23-migrate-link-fields-to-links.command.ts
@@ -225,6 +225,7 @@ export class MigrateLinkFieldsToLinksCommand extends CommandRunner {
id: tmpNewLinksField.id,
workspaceId: tmpNewLinksField.workspaceId,
name: `${fieldName}`,
+ isCustom: false,
});
this.logger.log(
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/commands/sync-workspace-metadata.command.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/commands/sync-workspace-metadata.command.ts
index 46313f69571..fa109828b7f 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/commands/sync-workspace-metadata.command.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/commands/sync-workspace-metadata.command.ts
@@ -54,6 +54,7 @@ export class SyncWorkspaceMetadataCommand extends CommandRunner {
const errorsDuringSync: string[] = [];
for (const workspaceId of workspaceIds) {
+ this.logger.log(`Running workspace sync for workspace: ${workspaceId}`);
try {
const issues =
await this.workspaceHealthService.healthCheck(workspaceId);