Browse Source

feat: introduce upgrader

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5444/head
Pranav C 2 years ago
parent
commit
ad28854ea1
  1. 3
      packages/nocodb-nest/src/app.module.ts

3
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 });
}
}

Loading…
Cancel
Save