Skip to content

Configuration

getCurrentMigrationVersion()

getCurrentMigrationVersion() — returns string

Available in: migrator Category: Database Migrations

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