summaryrefslogtreecommitdiffstats
path: root/application/config/migration.php
diff options
context:
space:
mode:
authorEric Barnes <eric@ericlbarnes.com>2011-11-16 17:07:35 +0100
committerEric Barnes <eric@ericlbarnes.com>2011-11-16 17:07:35 +0100
commitdd81c435c145792e79e17f5a51f5c036adbc8044 (patch)
tree91c343999a7849f3a6d5ef76681389ff31a0efa5 /application/config/migration.php
parentf0a11d47f8eccccb5db843ecbff859f2c09f60c4 (diff)
Migrations - Changed config migration_version to state it is used in migration->current. Removed white space and coding standards.
Diffstat (limited to 'application/config/migration.php')
-rw-r--r--application/config/migration.php13
1 files changed, 5 insertions, 8 deletions
diff --git a/application/config/migration.php b/application/config/migration.php
index 187a499ec..f56857401 100644
--- a/application/config/migration.php
+++ b/application/config/migration.php
@@ -5,9 +5,9 @@
* An open source application development framework for PHP 5.1.6 or newer
*
* NOTICE OF LICENSE
- *
+ *
* Licensed under the Academic Free License version 3.0
- *
+ *
* This source file is subject to the Academic Free License (AFL 3.0) that is
* bundled with this package in the files license_afl.txt / license_afl.rst.
* It is also available through the world wide web at this URL:
@@ -43,7 +43,7 @@ $config['migration_enabled'] = FALSE;
|--------------------------------------------------------------------------
|
| This is the name of the table that will store the current migrations state.
-| When migrations runs it will store in a database table which migration
+| When migrations runs it will store in a database table which migration
| level the system is at. It then compares the migration level in the this
| table to the $config['migration_version'] if they are not the same it
| will migrate up. This must be set.
@@ -51,13 +51,12 @@ $config['migration_enabled'] = FALSE;
*/
$config['migration_table'] = 'migrations';
-
/*
|--------------------------------------------------------------------------
| Auto Migrate To Latest
|--------------------------------------------------------------------------
|
-| If this is set to TRUE when you load the migrations class and have
+| If this is set to TRUE when you load the migrations class and have
| $config['migration_enabled'] set to TRUE the system will auto migrate
| to your latest migration (whatever $config['migration_version'] is
| set to). This way you do not have to call migrations anywhere else
@@ -66,20 +65,18 @@ $config['migration_table'] = 'migrations';
*/
$config['migration_auto_latest'] = FALSE;
-
/*
|--------------------------------------------------------------------------
| Migrations version
|--------------------------------------------------------------------------
|
| This is used to set migration version that the file system should be on.
-| If you run $this->migration->latest() this is the version that schema will
+| If you run $this->migration->current() this is the version that schema will
| be upgraded / downgraded to.
|
*/
$config['migration_version'] = 0;
-
/*
|--------------------------------------------------------------------------
| Migrations Path