twenty/packages
Weiko 2f223f3294
Fix 'name' column wrongly added in standard objects (#7428)
## Context
Name shouldn't be added to all tables, especially standard objects
because they already have their own labelIdentifierFieldMetadata
specified in the workspace-entity schema. This PR removes this column
from the "base" list of columns to add when creating a new object/table
and moves it to the object-metadata service that is, as of today, only
used for custom objects. Also had to modify the migration-runner to
handle column creation in a table creation migration (this was available
in the migration definition already but was not doing anything)

This also fixes an issue in standard objects that already have a "name"
field defined with a different field type, this is even more important
when the said field is a composite field. For example people already has
a FULL_NAME name field which clashes with the default TEXT name field
meaning it was only creating 1 field metadata for 'name' but 3 columns
were created: `name, nameFirstName, nameLastName`. This inconsistency
with metadata (which is our source of truth everywhere) brought some
issues (lately, converting back typeorm response to gql (including
composition) was broken).
2024-10-04 18:31:19 +02:00
..
twenty-chrome-extension Support for multiple values in the Phone field (#6882) 2024-09-11 11:15:04 +02:00
twenty-docker Add 0.30 release notes (#7300) 2024-09-27 19:10:26 +02:00
twenty-e2e-testing E2E tests (#6717) 2024-08-27 11:07:10 +02:00
twenty-emails Tag main as 0.31 canary (#7332) 2024-09-30 11:42:06 +02:00
twenty-front fix: New Relation Design hot fix (#7423) 2024-10-04 16:38:15 +02:00
twenty-postgres Check if user wants to run make postgres-on-linux (#6819) 2024-09-04 16:58:54 +02:00
twenty-server Fix 'name' column wrongly added in standard objects (#7428) 2024-10-04 18:31:19 +02:00
twenty-ui TWNTY-6808 - Ability to Filter by Creation Source (#7078) 2024-10-02 17:56:09 +02:00
twenty-utils Fix docs build in CI (#5826) 2024-06-11 19:06:37 +02:00
twenty-website Github banner (#7371) 2024-10-01 15:29:35 +02:00
twenty-zapier [Fix] Remove usage of deprecated FieldMetadata type probability (#6279) 2024-07-16 11:36:10 +02:00