# Source: https://mikro-orm.io/api/core/interface/EnsureDatabaseOptions.md

# EnsureDatabaseOptions<!-- -->

### Hierarchy

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

## Index[**](#Index)

### Properties

* [**clear](#clear)
* [**create](#create)
* [**forceCheck](#forceCheck)
* [**schema](#schema)
* [**truncate](#truncate)
* [**wrap](#wrap)

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

### [**](#clear)[**](https://github.com/mikro-orm/mikro-orm/blob/master/packages/core/src/typings.ts#L880)optionalclear

**clear?

<!-- -->

: boolean

### [**](#create)[**](https://github.com/mikro-orm/mikro-orm/blob/master/packages/core/src/typings.ts#L881)optionalcreate

**create?

<!-- -->

: boolean

### [**](#forceCheck)[**](https://github.com/mikro-orm/mikro-orm/blob/master/packages/core/src/typings.ts#L882)optionalforceCheck

**forceCheck?

<!-- -->

: boolean

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

**schema?

<!-- -->

: string

Inherited from ClearDatabaseOptions.schema

### [**](#truncate)[**](https://github.com/mikro-orm/mikro-orm/blob/master/packages/core/src/typings.ts#L876)optionalinheritedtruncate

**truncate?

<!-- -->

: boolean

Inherited from ClearDatabaseOptions.truncate

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

**wrap?

<!-- -->

: boolean

Inherited from CreateSchemaOptions.wrap