mongoose-version icon indicating copy to clipboard operation
mongoose-version copied to clipboard

Is this a correct behavior?

Open mateusbadalotti opened this issue 6 years ago • 2 comments

image

When following the code examples i'm getting this error, is this a expected behavior or there is a bug?

mateusbadalotti avatar Apr 17 '18 19:04 mateusbadalotti

@mateusbadalotti You should set the collection option if you would versioning for more than one schemas. For example: configsSchema.plugin(versioner, { collection: 'configs_versions' })

yitomok avatar Sep 10 '18 07:09 yitomok

Thanks @yitomok ! Appreciate your attention.

mateusbadalotti avatar Oct 02 '18 23:10 mateusbadalotti