fix(db-mongodb): spread version schema options correctly (#11793)
This commit is contained in:
@@ -37,8 +37,8 @@ export const init: Init = function init(this: MongooseAdapter) {
|
|||||||
options: {
|
options: {
|
||||||
minimize: false,
|
minimize: false,
|
||||||
timestamps: false,
|
timestamps: false,
|
||||||
|
...schemaOptions,
|
||||||
},
|
},
|
||||||
...schemaOptions,
|
|
||||||
},
|
},
|
||||||
compoundIndexes: buildVersionCompoundIndexes({ indexes: collection.sanitizedIndexes }),
|
compoundIndexes: buildVersionCompoundIndexes({ indexes: collection.sanitizedIndexes }),
|
||||||
configFields: versionCollectionFields,
|
configFields: versionCollectionFields,
|
||||||
|
|||||||
Reference in New Issue
Block a user