version($target_version)
Parameters: |
|
---|---|
Returns: |
TRUE if no migrations are found, current version string on success, FALSE on failure |
Return type: |
mixed |
Version can be used to roll back changes or step forwards programmatically to specific versions. It works just like current()
but ignores $config['migration_version']
.
$this->migration->version(5);
Please login to continue.