Browse Source

fix: ignore duplicating app config

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2236/head
Pranav C 3 years ago
parent
commit
d8d1d52bb3
  1. 4
      packages/nocodb/src/lib/noco/upgrader/NcUpgrader.ts

4
packages/nocodb/src/lib/noco/upgrader/NcUpgrader.ts

@ -76,10 +76,6 @@ export default class NcUpgrader {
}
}
config.version = process.env.NC_VERSION;
await ctx.ncMeta.metaInsert('', '', 'nc_store', {
key: NcUpgrader.STORE_KEY,
value: JSON.stringify(config)
});
}
} else {
this.log(`upgrade : Inserting config to meta database`);

Loading…
Cancel
Save