Migrator
migrateToLatest()
Signature
Section titled “Signature”migrateToLatest() — returns string
Available in: migrator
Category: General Functions
Description
Section titled “Description”Migrates the database schema to the latest available migration version. This is a shortcut for migrateTo(version) without needing to specify a version explicitly.
Examples
Section titled “Examples”// Migrate database to the latest version
result = application.wheels.migrator.migrateToLatest();
// Output the result message
writeOutput(result);