Browse Source

feat: add update logic if version not matched

pull/2216/head
Wing-Kam Wong 3 years ago
parent
commit
089f2b57c7
  1. 8
      packages/nocodb/src/lib/noco/meta/helpers/NcPluginMgrv2.ts

8
packages/nocodb/src/lib/noco/meta/helpers/NcPluginMgrv2.ts

@ -80,6 +80,14 @@ class NcPluginMgrv2 {
category: plugin.category,
input_schema: JSON.stringify(plugin.inputs)
});
} else if (pluginConfig.version !== plugin.version) {
await ncMeta.metaUpdate(
null,
null,
MetaTable.PLUGIN,
plugin,
pluginConfig.id
);
}
/* init only the active plugins */

Loading…
Cancel
Save