Browse Source

refactor: disable upgrader

pull/9684/head
Pranav C 4 weeks ago
parent
commit
3ce52ed772
  1. 2
      packages/nocodb/src/providers/init-meta-service.provider.ts
  2. 6
      packages/nocodb/src/version-upgrader/NcUpgrader.ts
  3. 0
      packages/nocodb/src/version-upgrader/upgraders/0227000_dupColMergeUpgrader.ts

2
packages/nocodb/src/providers/init-meta-service.provider.ts

@ -31,7 +31,7 @@ export const InitMetaServiceProvider: FactoryProvider = {
const config = await NcConfig.createByEnv();
// set version
process.env.NC_VERSION = '0257002';
process.env.NC_VERSION = '0225002';
// set migration jobs version
process.env.NC_MIGRATION_JOBS_VERSION = '2';

6
packages/nocodb/src/version-upgrader/NcUpgrader.ts

@ -12,8 +12,8 @@ import ncXcdbLTARUpgrader from './upgraders/0108002_ncXcdbLTARUpgrader';
import ncXcdbLTARIndexUpgrader from './upgraders/0111002_ncXcdbLTARIndexUpgrader';
import ncXcdbCreatedAndUpdatedSystemFieldsUpgrader from './upgraders/0111005_ncXcdbCreatedAndUpdatedSystemFieldsUpgrader';
import ncDatasourceDecrypt from './upgraders/0225002_ncDatasourceDecrypt';
import ncBrokenLinkRecovery from './upgraders/0227002_ncBrokenLinkRecovery';
// import dupColMergeUpgrader from './0205003_dupColMergeUpgrader';
// import ncBrokenLinkRecovery from './upgraders/0227002_ncBrokenLinkRecovery';
// import dupColMergeUpgrader from './upgraders/0227003_dupColMergeUpgrader';
import type { MetaService } from '~/meta/meta.service';
import type { NcConfig } from '~/interface/config';
import { T } from '~/utils';
@ -152,8 +152,8 @@ export default class NcUpgrader {
{ name: '0111002', handler: ncXcdbLTARIndexUpgrader },
{ name: '0111005', handler: ncXcdbCreatedAndUpdatedSystemFieldsUpgrader },
{ name: '0225002', handler: ncDatasourceDecrypt },
{ name: '0257002', handler: ncBrokenLinkRecovery },
// disable for now
// { name: '0257002', handler: ncBrokenLinkRecovery },
// { name: '0227000', handler: dupColMergeUpgrader },
];
}

0
packages/nocodb/src/version-upgrader/0227000_dupColMergeUpgrader.ts → packages/nocodb/src/version-upgrader/upgraders/0227000_dupColMergeUpgrader.ts

Loading…
Cancel
Save