Browse Source

feat(nocodb): add ncAttachmentUpgrader

pull/4931/head
Wing-Kam Wong 2 years ago
parent
commit
80ad0f35f7
  1. 2
      packages/nocodb/src/lib/version-upgrader/NcUpgrader.ts

2
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;

Loading…
Cancel
Save