twenty/packages
Weiko d19bc2c224
Fix SimplifySearchVectorExpressionCommand (#8218)
## Context
This command was introduced to simplify searchVector expressions that
were added in v0.31.x for existing workspaces.
New search vector columns have been added later during 0.32 development
and should not be migrated, this actually breaks the command because we
run sync-metadata before the upgrade command.

The fix removes the throw since this is expected and return early if the
search vector was not matched with an object that needs migration.

## Test
checkout v0.31.0
reset:db command
checkout this PR
run typeorm migrations
run upgrade 0-32 command
2024-10-30 17:47:52 +01:00
..
twenty-chrome-extension Migrate to twenty-ui - feedback/loader (#7997) 2024-10-24 16:19:32 +02:00
twenty-docker feat: generate secret function and replaced few instances (#7810) 2024-10-30 12:07:11 +01:00
twenty-e2e-testing E2E tests (#6717) 2024-08-27 11:07:10 +02:00
twenty-emails Make main the new 0.32 canary 2024-10-12 17:48:20 +02:00
twenty-front Fix date picker size (#8216) 2024-10-30 17:34:05 +01:00
twenty-server Fix SimplifySearchVectorExpressionCommand (#8218) 2024-10-30 17:47:52 +01:00
twenty-tinybird add twenty-tinybird package (#8030) 2024-10-29 10:31:05 +01:00
twenty-ui fix(sso): improve enterprise key var management (#8152) 2024-10-29 11:39:00 +01:00
twenty-utils Fix docs build in CI (#5826) 2024-06-11 19:06:37 +02:00
twenty-website feat: generate secret function and replaced few instances (#7810) 2024-10-30 12:07:11 +01:00
twenty-zapier 8130 creating a new company in twenty doesnt activate on zapier (#8166) 2024-10-29 13:56:01 +01:00