summaryrefslogtreecommitdiffstats
path: root/application/config/migration.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/config/migration.php')
-rw-r--r--application/config/migration.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/application/config/migration.php b/application/config/migration.php
index aca052d0c..1f532f170 100644
--- a/application/config/migration.php
+++ b/application/config/migration.php
@@ -25,6 +25,22 @@ $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
+| $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
+| in your code to have the latest migration.
+|
+*/
+$config['migration_auto_latest'] = FALSE;
+
+
/*
|--------------------------------------------------------------------------
| Migrations version