diff --git a/packages/nocodb/src/meta/migrations/XcMigrationSourcev2.ts b/packages/nocodb/src/meta/migrations/XcMigrationSourcev2.ts index f5f51c0185..5cf13ffeab 100644 --- a/packages/nocodb/src/meta/migrations/XcMigrationSourcev2.ts +++ b/packages/nocodb/src/meta/migrations/XcMigrationSourcev2.ts @@ -51,6 +51,7 @@ import * as nc_061_integration_is_default from '~/meta/migrations/v2/nc_061_inte import * as nc_062_integration_store from '~/meta/migrations/v2/nc_062_integration_store'; import * as nc_063_form_field_filter from '~/meta/migrations/v2/nc_063_form_field_filter'; import * as nc_064_pg_minimal_dbs from '~/meta/migrations/v2/nc_064_pg_minimal_dbs'; +import * as nc_063_encrypt_flag from '~/meta/migrations/v2/nc_061_encrypt_flag'; // Create a custom migration source class export default class XcMigrationSourcev2 { @@ -113,6 +114,7 @@ export default class XcMigrationSourcev2 { 'nc_062_integration_store', 'nc_063_form_field_filter', 'nc_064_pg_minimal_dbs', + 'nc_063_encrypt_flag', ]); } @@ -228,6 +230,8 @@ export default class XcMigrationSourcev2 { return nc_063_form_field_filter; case 'nc_064_pg_minimal_dbs': return nc_064_pg_minimal_dbs; + case 'nc_063_encrypt_flag': + return nc_063_encrypt_flag; } } } diff --git a/packages/nocodb/src/version-upgrader/NcUpgrader.ts b/packages/nocodb/src/version-upgrader/NcUpgrader.ts index baea4c8d20..09b2e72276 100644 --- a/packages/nocodb/src/version-upgrader/NcUpgrader.ts +++ b/packages/nocodb/src/version-upgrader/NcUpgrader.ts @@ -11,6 +11,7 @@ import ncProjectConfigUpgrader from './upgraders/0107004_ncProjectConfigUpgrader 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 type { MetaService } from '~/meta/meta.service'; import type { NcConfig } from '~/interface/config'; import { T } from '~/utils'; @@ -148,6 +149,7 @@ export default class NcUpgrader { { name: '0108002', handler: ncXcdbLTARUpgrader }, { name: '0111002', handler: ncXcdbLTARIndexUpgrader }, { name: '0111005', handler: ncXcdbCreatedAndUpdatedSystemFieldsUpgrader }, + { name: '0225002', handler: ncDatasourceDecrypt }, ]; } }