Skip to content

Migrator

getCurrentMigrationVersion()

getCurrentMigrationVersion() — returns string

Available in: migrator Category: General Functions

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();