From 6af42b9b9b4d3f801f98068fc31fbbad60ac45ea Mon Sep 17 00:00:00 2001 From: shubham yadav <126192924+yadavshubham01@users.noreply.github.com> Date: Thu, 23 Jan 2025 23:31:03 +0530 Subject: [PATCH] Fix: Remove default value for name field in CustomWorkspaceEntity (#9805) (#9824) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Summary This pull request addresses issue #9805 by removing the default value `'Untitled'` for the `name` field in the `CustomWorkspaceEntity` class. ### Details - Removed the default value `'Untitled'` for the `name` field. - This change ensures that new records do not have an empty or default name. - Ensures consistency across different standard object records. ### Issue This pull request resolves issue #9805. ### Testing Tested the creation of new records to ensure that the `name` field is now correctly handled without a default value. Co-authored-by: Félix Malfait --- .../src/engine/twenty-orm/custom.workspace-entity.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/twenty-server/src/engine/twenty-orm/custom.workspace-entity.ts b/packages/twenty-server/src/engine/twenty-orm/custom.workspace-entity.ts index eb26fbb5c..637d9be07 100644 --- a/packages/twenty-server/src/engine/twenty-orm/custom.workspace-entity.ts +++ b/packages/twenty-server/src/engine/twenty-orm/custom.workspace-entity.ts @@ -43,7 +43,6 @@ export class CustomWorkspaceEntity extends BaseWorkspaceEntity { description: 'Name', type: FieldMetadataType.TEXT, icon: 'IconAbc', - defaultValue: "'Untitled'", }) name: string;