|
|
|
@ -12,7 +12,7 @@ import ncFilterUpgrader from './ncFilterUpgrader';
|
|
|
|
|
import ncAttachmentUpgrader from './ncAttachmentUpgrader'; |
|
|
|
|
import ncAttachmentUpgrader_0104002 from './ncAttachmentUpgrader_0104002'; |
|
|
|
|
import ncStickyColumnUpgrader from './ncStickyColumnUpgrader'; |
|
|
|
|
import ncFilterUpgrader_0104003 from './ncFilterUpgrader_0104003'; |
|
|
|
|
import ncFilterUpgrader_0104004 from './ncFilterUpgrader_0104004'; |
|
|
|
|
|
|
|
|
|
const log = debug('nc:version-upgrader'); |
|
|
|
|
import boxen from 'boxen'; |
|
|
|
@ -44,7 +44,7 @@ export default class NcUpgrader {
|
|
|
|
|
{ name: '0101002', handler: ncAttachmentUpgrader }, |
|
|
|
|
{ name: '0104002', handler: ncAttachmentUpgrader_0104002 }, |
|
|
|
|
{ name: '0104003', handler: ncStickyColumnUpgrader }, |
|
|
|
|
{ name: '0104003', handler: ncFilterUpgrader_0104003 }, |
|
|
|
|
{ name: '0104004', handler: ncFilterUpgrader_0104004 }, |
|
|
|
|
]; |
|
|
|
|
if (!(await ctx.ncMeta.knexConnection?.schema?.hasTable?.('nc_store'))) { |
|
|
|
|
return; |
|
|
|
|