Browse Source

chore(nocodb): 0104003 -> 0104004

pull/5106/head
Wing-Kam Wong 2 years ago
parent
commit
55890b8608
  1. 2
      packages/nocodb/src/lib/Noco.ts
  2. 4
      packages/nocodb/src/lib/version-upgrader/NcUpgrader.ts
  3. 0
      packages/nocodb/src/lib/version-upgrader/ncFilterUpgrader_0104004.ts

2
packages/nocodb/src/lib/Noco.ts

@ -105,7 +105,7 @@ export default class Noco {
constructor() {
process.env.PORT = process.env.PORT || '8080';
// todo: move
process.env.NC_VERSION = '0104003';
process.env.NC_VERSION = '0104004';
// if env variable NC_MINIMAL_DBS is set, then disable project creation with external sources
if (process.env.NC_MINIMAL_DBS) {

4
packages/nocodb/src/lib/version-upgrader/NcUpgrader.ts

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

0
packages/nocodb/src/lib/version-upgrader/ncFilterUpgrader_0104003.ts → packages/nocodb/src/lib/version-upgrader/ncFilterUpgrader_0104004.ts

Loading…
Cancel
Save