Add simplify-search-vector-expression to upgrade 0-32 command (#7925)
## Context Moving this command to the global command runner for 0.32 upgrade. This should fix searchVector expression introduced in 0.31 to later handle soft-deleted + search filter properly. ## Test ``` git co v0.31.0 -- reset DB git co c--add-simplify-search-vector-expression-to-upgrade-0-32 -- migrate typeorm -- upgrade 0.32 command ``` search is working and expression is correctly set. Soft deleted records are not shown as before but it's now possible to override that behavior via filters. cc @ijreilly
This commit is contained in:
@ -7,7 +7,6 @@ import { DataSeedDemoWorkspaceCommand } from 'src/database/commands/data-seed-de
|
||||
import { DataSeedDemoWorkspaceModule } from 'src/database/commands/data-seed-demo-workspace/data-seed-demo-workspace.module';
|
||||
import { DataSeedWorkspaceCommand } from 'src/database/commands/data-seed-dev-workspace.command';
|
||||
import { ConfirmationQuestion } from 'src/database/commands/questions/confirmation.question';
|
||||
import { SimplifySearchVectorExpressionCommandModule } from 'src/database/commands/upgrade-version/0-31/0-32/0-32-simplify-search-vector-expression.module';
|
||||
import { UpgradeTo0_32CommandModule } from 'src/database/commands/upgrade-version/0-32/0-32-upgrade-version.module';
|
||||
import { TypeORMModule } from 'src/database/typeorm/typeorm.module';
|
||||
import { BillingSubscription } from 'src/engine/core-modules/billing/entities/billing-subscription.entity';
|
||||
@ -47,7 +46,6 @@ import { WorkspaceSyncMetadataModule } from 'src/engine/workspace-manager/worksp
|
||||
DataSeedDemoWorkspaceModule,
|
||||
WorkspaceCacheStorageModule,
|
||||
WorkspaceMetadataVersionModule,
|
||||
SimplifySearchVectorExpressionCommandModule,
|
||||
UpgradeTo0_32CommandModule,
|
||||
FeatureFlagModule,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user