diff options
author | ftwbzhao <b.zhao1@gmail.com> | 2015-05-20 10:10:35 +0200 |
---|---|---|
committer | ftwbzhao <b.zhao1@gmail.com> | 2015-05-20 10:17:11 +0200 |
commit | b8978ee517fab43fea511869337ac40b577f00a3 (patch) | |
tree | 01a30c745f0b53362b763f39b827dfb04707bf61 /system/libraries/Migration.php | |
parent | 20bd19dfe6c408925a937b4a6de93a74a853c372 (diff) |
optimize migrations class reference
Diffstat (limited to 'system/libraries/Migration.php')
-rw-r--r-- | system/libraries/Migration.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Migration.php b/system/libraries/Migration.php index ae36a3b45..e17f41696 100644 --- a/system/libraries/Migration.php +++ b/system/libraries/Migration.php @@ -191,7 +191,7 @@ class CI_Migration { * choice * * @param string $target_version Target schema version - * @return mixed TRUE if already latest, FALSE if failed, string if upgraded + * @return mixed TRUE if no migrations are found, current version string on success, FALSE on failure */ public function version($target_version) { @@ -294,7 +294,7 @@ class CI_Migration { /** * Sets the schema to the latest migration * - * @return mixed TRUE if already latest, FALSE if failed, string if upgraded + * @return mixed current version string on success, FALSE on failure */ public function latest() { @@ -318,7 +318,7 @@ class CI_Migration { /** * Sets the schema to the migration version set in config * - * @return mixed TRUE if already current, FALSE if failed, string if upgraded + * @return mixed TRUE if no migrations are found, current version string on success, FALSE on failure */ public function current() { |