diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-05-02 11:47:42 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-05-02 11:47:42 +0200 |
commit | bd738c80a623700b3b11e876abb764ca6d57769d (patch) | |
tree | 7ceec96d9dc36bb524acff0946e9eb0db03f90d0 /system/libraries/Migration.php | |
parent | 721c77fcf347751895623514fb2e4c89390afa67 (diff) | |
parent | 02b80cbe5aae7e474b097c149ab6479de9ab0f91 (diff) |
Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop-db-odbc
Diffstat (limited to 'system/libraries/Migration.php')
-rw-r--r-- | system/libraries/Migration.php | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/system/libraries/Migration.php b/system/libraries/Migration.php index a18fcb9f1..ce4683fc1 100644 --- a/system/libraries/Migration.php +++ b/system/libraries/Migration.php @@ -39,14 +39,53 @@ */ class CI_Migration { + /** + * Whether the library is enabled + * + * @var bool + */ protected $_migration_enabled = FALSE; + + /** + * Path to migration classes + * + * @var string + */ protected $_migration_path = NULL; + + /** + * Current migration version + * + * @var mixed + */ protected $_migration_version = 0; + + /** + * Database table with migration info + * + * @var string + */ protected $_migration_table = 'migrations'; + + /** + * Whether to automatically run migrations + * + * @var bool + */ protected $_migration_auto_latest = FALSE; + /** + * Error message + * + * @var string + */ protected $_error_string = ''; + /** + * Initialize Migration Class + * + * @param array + */ public function __construct($config = array()) { # Only run this constructor on main library load |