# Source: https://mikro-orm.io/api/mongodb/interface/MongoCreateSchemaOptions.md

# MongoCreateSchemaOptions<!-- -->

### Hierarchy

* [CreateSchemaOptions](https://mikro-orm.io/api/core/interface/CreateSchemaOptions.md)
  * *MongoCreateSchemaOptions*

## Index[**](#Index)

### Properties

* [**ensureIndexes](#ensureIndexes)
* [**schema](#schema)
* [**wrap](#wrap)

## Properties<!-- -->[**](#Properties)

### [**](#ensureIndexes)[**](https://github.com/mikro-orm/mikro-orm/blob/master/packages/mongodb/src/MongoSchemaGenerator.ts#L265)optionalensureIndexes

**ensureIndexes?

<!-- -->

: boolean

create indexes? defaults to true

### [**](#schema)[**](https://github.com/mikro-orm/mikro-orm/blob/master/packages/core/src/typings.ts#L871)optionalinheritedschema

**schema?

<!-- -->

: string

Inherited from CreateSchemaOptions.schema

### [**](#wrap)[**](https://github.com/mikro-orm/mikro-orm/blob/master/packages/core/src/typings.ts#L870)optionalinheritedwrap

**wrap?

<!-- -->

: boolean

Inherited from CreateSchemaOptions.wrap