plugin update
If you’re using plugin ranges, the plugin update command re-resolves the version ranges your PLUGIN statements declare
and updates the lockfile with the new matching versions.
If you’re not using plugin ranges, you can just update the version attribute in your PLUGIN statement and run init
again (you might need to pass --environment if the plugin is only used in a given environment).
nschema plugin update # every plugin declared with a rangenschema plugin update postgres # just this one, by its PLUGIN labelEach updated plugin is reported with what changed, and the new pins are restored so the project stays usable:
✔ NSchema.Postgres 5.0.0 → 5.1.0 NSchema.Aws 5.0.0 (already up to date)Arguments
Section titled “Arguments”plugin(optional) — the label of the plugin to update, as named by itsPLUGINstatement. Omitting a plugin name defaults to every plugin.