Migrate fields of deprecated type LINK to type LINKS (#6332)

Closes #5909.

Adding a command to migrate fields of type Link to fields of type Links,
including their data.
This commit is contained in:
Marie
2024-07-23 09:57:30 +02:00
committed by GitHub
parent c69d665114
commit 8d33264a7d
13 changed files with 668 additions and 19 deletions

View File

@ -68,7 +68,7 @@ export class CompanyWorkspaceEntity extends BaseWorkspaceEntity {
@WorkspaceField({
standardId: COMPANY_STANDARD_FIELD_IDS.linkedinLink,
type: FieldMetadataType.LINK,
type: FieldMetadataType.LINKS,
label: 'Linkedin',
description: 'The company Linkedin account',
icon: 'IconBrandLinkedin',
@ -78,7 +78,7 @@ export class CompanyWorkspaceEntity extends BaseWorkspaceEntity {
@WorkspaceField({
standardId: COMPANY_STANDARD_FIELD_IDS.xLink,
type: FieldMetadataType.LINK,
type: FieldMetadataType.LINKS,
label: 'X',
description: 'The company Twitter/X account',
icon: 'IconBrandX',