diff --git a/packages/nocodb/src/services/app-init.service.ts b/packages/nocodb/src/services/app-init.service.ts index b305425347..f08263fb38 100644 --- a/packages/nocodb/src/services/app-init.service.ts +++ b/packages/nocodb/src/services/app-init.service.ts @@ -35,7 +35,7 @@ export const appInitServiceProvider: Provider = { metaService: MetaService, eventEmitter: IEventEmitter, ) => { - process.env.NC_VERSION = '0105004'; + process.env.NC_VERSION = '0107004'; await NocoCache.init(); diff --git a/packages/nocodb/src/version-upgrader/ncProjectConfigUpgrader.ts b/packages/nocodb/src/version-upgrader/ncProjectConfigUpgrader.ts index 40c3d0a157..875672a272 100644 --- a/packages/nocodb/src/version-upgrader/ncProjectConfigUpgrader.ts +++ b/packages/nocodb/src/version-upgrader/ncProjectConfigUpgrader.ts @@ -36,11 +36,15 @@ export default async function ({ ncMeta }: NcUpgraderCtx) { // Update the base config with the new secret key actions.push( - Base.updateBase(base.id, { - id: base.id, - projectId: base.project_id, - config: base.config, - }), + Base.updateBase( + base.id, + { + id: base.id, + projectId: base.project_id, + config, + }, + ncMeta, + ), ); } await Promise.all(actions);