When running this plugin commands with serverless, like sls migrate create -n <your-migration-name>
We are getting next warning:
Serverless: Deprecation warning: CLI options definitions were upgraded with "type" property (which could be one of "string", "boolean", "multiple"). Below listed plugins do not predefine type for introduced options:
- MigratePlugin for "state-file", "store", "date-format", "file-extension", "name", "template-file"
Please report this issue in plugin issue tracker.
Starting with next major release, this will be communicated with a thrown error.
More Info: https://www.serverless.com/framework/docs/deprecations/#CLI_OPTIONS_SCHEMA
When running this plugin commands with serverless, like
sls migrate create -n <your-migration-name>
We are getting next warning:
According to this:
To fix this, the type property should be added to the options: