# Introduction Related https://github.com/twentyhq/core-team-issues/issues/1910 From now on the upgrade won't integrate any sync metadata as it's going to be deprecated very soon Any updates to about to removes workspace-entity or standard flat entity will require a dedicated upgrade command, what we've already started doing during the 1.13 sprint, until we have totally migrated the v2 to be workspace agnostic
18 lines
725 B
TypeScript
18 lines
725 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
import { V1_13_UpgradeVersionCommandModule } from 'src/database/commands/upgrade-version-command/1-13/1-13-upgrade-version-command.module';
|
|
import { UpgradeCommand } from 'src/database/commands/upgrade-version-command/upgrade.command';
|
|
import { WorkspaceEntity } from 'src/engine/core-modules/workspace/workspace.entity';
|
|
import { DataSourceModule } from 'src/engine/metadata-modules/data-source/data-source.module';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([WorkspaceEntity]),
|
|
V1_13_UpgradeVersionCommandModule,
|
|
DataSourceModule,
|
|
],
|
|
providers: [UpgradeCommand],
|
|
})
|
|
export class UpgradeVersionCommandModule {}
|