From ad28854ea150e70b5c28948081f730d7dc70da80 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Fri, 14 Apr 2023 13:38:15 +0530 Subject: [PATCH] feat: introduce upgrader Signed-off-by: Pranav C --- packages/nocodb-nest/src/app.module.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nocodb-nest/src/app.module.ts b/packages/nocodb-nest/src/app.module.ts index 3c2038576b..a21ab746b1 100644 --- a/packages/nocodb-nest/src/app.module.ts +++ b/packages/nocodb-nest/src/app.module.ts @@ -59,6 +59,7 @@ import type { import { ServeStaticModule } from '@nestjs/serve-static'; import { join } from 'path'; +import NcUpgrader from './version-upgrader/NcUpgrader'; @Module({ imports: [ @@ -157,6 +158,6 @@ export class AppModule implements OnApplicationBootstrap { await Noco.loadEEState(); // run upgrader - // await NcUpgrader.upgrade({ ncMeta: Noco._ncMeta }); + await NcUpgrader.upgrade({ ncMeta: Noco._ncMeta }); } }