Migrator General Functions string migrator
Migrates database to a specified version. Whilst you can use this in your application, the recommended useage is via either the CLI or the provided GUI interface
Name | Type | Required | Default | Description |
---|---|---|---|---|
version | string | No | The Database schema version to migrate to |
// Migrate to a specific version
// Returns a message with the result
result=application.wheels.migrator.migrateTo(version);