mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 02:15:12 +00:00
feat: add update logic if version not matched
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user