Skip to main content
Version: Next

RefreshDatabaseOptions

Options for ISchemaGenerator.refresh() which drops and recreates the schema.

Hierarchy

Index

Properties

optionalcreateSchema

createSchema?: boolean

optionaldropDb

dropDb?: boolean

optionalensureIndexes

ensureIndexes?: boolean

optionalinheritedincludeWildcardSchema

includeWildcardSchema?: boolean

When true, entities with a wildcard schema (schema: '*') are included in the generated DDL. Without this, wildcard tables are skipped.

optionalinheritedschema

schema?: string

optionalinheritedwrap

wrap?: boolean