Skip to content

Migrator

migrateTo()

migrateTo() — returns string

Available in: migrator Category: General Functions

Migrates database to a specified version. Whilst you can use this in your application, the recommended usage is via either the CLI or the provided GUI interface

NameTypeRequiredDefaultDescription
versionstringnoThe Database schema version to migrate to
missingMigFlagbooleannofalseFlag for any available missing migrations