@mikro-orm/coreInterfacesVersion: NextOn this pageEnsureDatabaseOptions Options for ISchemaGenerator.ensureDatabase() which creates and optionally clears the database.HierarchyCreateSchemaOptionsClearDatabaseOptionsEnsureDatabaseOptionsIndex PropertiesclearclearIdentityMapcreateforceCheckschematruncatewrapProperties optionalclearclear?: booleanoptionalinheritedclearIdentityMapclearIdentityMap?: booleanoptionalcreatecreate?: booleanoptionalforceCheckforceCheck?: booleanoptionalinheritedschemaschema?: stringoptionalinheritedtruncatetruncate?: booleanoptionalinheritedwrapwrap?: boolean
Options for
ISchemaGenerator.ensureDatabase()which creates and optionally clears the database.