Weiko
What's the best way to bulk add/remove fields?
Hi @basicbass
We haven't implemented the createMany indeed. Shouldn't take much time but we didn't have this use case yet. Feel free to create an issue though. I'm not sure we will prioritise this one because we have an upcoming refactoring on that part and we would prefer to finish that first but we will keep it in mind!
6 replies
Upgrade 0.22.1 to v0.23.0 issues
I won't be available for the next 3 days and won't be able to push a fix unfortunately. I'll let @thomast or @charles see if a patch can be pushed or if we can provide a manual action (SQL query to fix your workspace) for you
36 replies
Upgraded to latest version and Twenty crashed
@_PoSeiDon files (attachments, logo, etc) have been moved to another folder, the upgrade command should have moved them for you. Did you run
yarn command:prod upgrade-0.23
as suggested?
Otherwise you can simply move them manually, the desired path is in your error message, basically you should have a folder .local-storage/workspace-logo
you need to move workspace-logo
into .local-storage/workspace-8cc45cca-1c8b-4484-8af5-d88bfe12df89
3 replies
Upgrade to v0.23.0 failing
Sorry, this request was suggested because you had to update multiple fields isCustom. It seems you are done with that error now and the unicity constraint won't be fixed by this query because it's based on the ['name', 'objectMetadataId', 'workspaceId'] columns regardless of the isCustom column
175 replies
Upgrade to v0.23.0 failing
That's something we are not really good at yet. If we introduce a new feature that needs the creation of a new table, we need to make sure the DB does not have already one with the same name. Since we allow users to create custom objects which in result creates a table, that name could have been already taken for the table (or the field/object/api)
175 replies
Upgrade to v0.23.0 failing
easier with a blame https://github.com/twentyhq/twenty/blame/main/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/constants/standard-field-ids.ts
175 replies