T
Twenty2w ago
anjali

SoftDelete Issue

Hi @charles We recently updated our codebase from version 23.0 to 24.1 and followed the upgrade process outlined in the guide. After running the commands yarn database:migrate:prod yarn command:prod upgrade-0.24, we noticed an issue: the isSoftDeletable field in objectMetadata is set to null instead of true or false. As a result, the soft delete functionality is not working in our project. For the FindCompany query, the deletedAt field is showing an error: "Cannot query field "deletedAt" on type "Company". Did you mean "createdAt" or "updatedAt"?" Could this issue be resolved by syncing the schema ?
No description
No description
2 Replies
Raph
Raph2w ago
Hey, @anjali I remember this being an issue in the past. You might want to follow the upgrade guide and get past 34.0 where most of these issues subside.
ɃØĦɆᵾS
ɃØĦɆᵾS2w ago
Here are all issues about soft-delete https://github.com/twentyhq/twenty/issues/7667
GitHub
🗑️ Soft-Delete Master Issue · Issue #7667 · twentyhq/twenty
The content you are editing has changed. Please copy your edits and refresh the page. Tasks Beta Give feedback After deleting record, any new duplicate is automatically deleted #7379 prio: high sco...
Want results from more Discord servers?
Add your server