|
| $_migration_enabled = FALSE |
|
| $_migration_path = NULL |
|
| $_migration_version = 0 |
|
| $_error_string = '' |
|
Enable the use of CI super-global
- Parameters
-
- Returns
- mixed
Retrieves current schema version
- Returns
- int Current Migration
_update_version |
( |
|
$migrations) | |
|
|
protected |
Stores the current schema version
- Parameters
-
- Returns
- bool
Set's the schema to the migration version set in config
- Returns
- mixed true if already current, false if failed, int if upgraded
Error string
- Returns
- string Error message returned as a string
Set's the schema to the latest migration
- Returns
- mixed true if already latest, false if failed, int if upgraded
Set's the schema to the latest migration
- Returns
- mixed true if already latest, false if failed, int if upgraded
version |
( |
|
$target_version) | |
|
Migrate to a schema version
Calls each migration step required to get to the schema version of choice
- Parameters
-
- Returns
- mixed TRUE if already latest, FALSE if failed, int if upgraded
The documentation for this class was generated from the following file:
- system/libraries/Migration.php