From 80ad0f35f77cea805e2f4e202172b45bfea66a50 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Wed, 18 Jan 2023 14:12:56 +0800 Subject: [PATCH] feat(nocodb): add ncAttachmentUpgrader --- packages/nocodb/src/lib/version-upgrader/NcUpgrader.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nocodb/src/lib/version-upgrader/NcUpgrader.ts b/packages/nocodb/src/lib/version-upgrader/NcUpgrader.ts index 9f7ae6d07f..f5693551fa 100644 --- a/packages/nocodb/src/lib/version-upgrader/NcUpgrader.ts +++ b/packages/nocodb/src/lib/version-upgrader/NcUpgrader.ts @@ -9,6 +9,7 @@ import ncProjectUpgraderV2_0090000 from './ncProjectUpgraderV2_0090000'; import ncDataTypesUpgrader from './ncDataTypesUpgrader'; import ncProjectRolesUpgrader from './ncProjectRolesUpgrader'; import ncFilterUpgrader from './ncFilterUpgrader'; +import ncAttachmentUpgrader from './ncAttachmentUpgrader'; const log = debug('nc:version-upgrader'); import boxen from 'boxen'; @@ -37,6 +38,7 @@ export default class NcUpgrader { { name: '0098004', handler: ncDataTypesUpgrader }, { name: '0098005', handler: ncProjectRolesUpgrader }, { name: '0100002', handler: ncFilterUpgrader }, + { name: '0101002', handler: ncAttachmentUpgrader }, ]; if (!(await ctx.ncMeta.knexConnection?.schema?.hasTable?.('nc_store'))) { return;