 
 /**
  * Migrates database to a specified version.
+ *
+ * [section: Configuration]
+ * [category: Database Migrations]
+ *
+ * @version The Database schema version to migrate to
  */
 public string function migrateTo(string version="") {
 	local.rv = "";


/**
 * Returns current database version.
 */
public string function getCurrentMigrationVersion() {
	return ListLast($getVersionsPreviouslyMigrated());
}

/**
 * Create a migration file.
 */
public string function createMigration(
	required string migrationName,

<cfscript>

/**
 * Configure and return dbmigrate object. Now uses /app mapping
 */
public struct function init(
	string migratePath="/app/db/migrate/",
	string sqlPath="/app/db/sql/",
	string templatePath="/wheels/dbmigrate/templates/"
) {
	this.paths.migrate = ExpandPath(arguments.migratePath);
	this.paths.sql = ExpandPath(arguments.sqlPath);
