Return to v2.3 docs

getCurrentMigrationVersion()


Migrator General Functions string migrator


Returns current database version. Whilst you can use this in your application, the recommended useage is via either the CLI or the provided GUI interface

// Get current database version
currentVersion = application.wheels.migrator.getCurrentMigrationVersion();

Related Functions

General Functions