mongoose-version
mongoose-version copied to clipboard
Is this a correct behavior?
When following the code examples i'm getting this error, is this a expected behavior or there is a bug?
@mateusbadalotti You should set the collection
option if you would versioning for more than one schemas.
For example: configsSchema.plugin(versioner, { collection: 'configs_versions' })
Thanks @yitomok ! Appreciate your attention.