mirror of
https://github.com/lingble/twenty.git
synced 2025-11-02 05:37:56 +00:00
Fix default value fixer script (#5144)
While trying to migrate a workspace from 0.3.3 to 0.10.0, we've faced an issue with the script to migrate default-values format. This PR fixes it. We really need to add tests on this part ;)
This commit is contained in:
@@ -276,7 +276,7 @@ export class FieldMetadataHealthService {
|
||||
!validateDefaultValueForType(
|
||||
fieldMetadata.type,
|
||||
fieldMetadata.defaultValue,
|
||||
)
|
||||
).isValid
|
||||
) {
|
||||
issues.push({
|
||||
type: WorkspaceHealthIssueType.COLUMN_DEFAULT_VALUE_NOT_VALID,
|
||||
|
||||
Reference in New Issue
Block a user