@mikro-orm/coreInterfacesVersion: NextOn this pageRefreshDatabaseOptions Options for ISchemaGenerator.refresh() which drops and recreates the schema.HierarchyCreateSchemaOptionsRefreshDatabaseOptionsIndex PropertiescreateSchemadropDbensureIndexesschemawrapProperties optionalcreateSchemacreateSchema?: booleanoptionaldropDbdropDb?: booleanoptionalensureIndexesensureIndexes?: booleanoptionalinheritedschemaschema?: stringoptionalinheritedwrapwrap?: boolean
Options for
ISchemaGenerator.refresh()which drops and recreates the schema.