Return to v2.0 docs

getCurrentMigrationVersion()


Configuration Database Migrations 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

Database Migrations