summaryrefslogtreecommitdiffstats
path: root/application/config/migration.php
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2011-09-23 16:28:13 +0200
committerTimothy Warren <tim@timshomepage.net>2011-09-23 16:28:13 +0200
commit4d292bdb56ba6afc26878d9bcd82892f48d9f1a4 (patch)
treea894323d2e896adcb7d25d7d1edb806295147384 /application/config/migration.php
parent5fc36d8c9dc0bd5d41ed7dea36f999c6e07e1615 (diff)
parentd26133be24eef68b1bead61e7e808f4424a71a0a (diff)
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into develop
Diffstat (limited to 'application/config/migration.php')
-rw-r--r--application/config/migration.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/application/config/migration.php b/application/config/migration.php
index dba870010..1f532f170 100644
--- a/application/config/migration.php
+++ b/application/config/migration.php
@@ -11,6 +11,35 @@
*/
$config['migration_enabled'] = FALSE;
+/*
+|--------------------------------------------------------------------------
+| Migrations table
+|--------------------------------------------------------------------------
+|
+| 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
+| 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.
+|
+*/
+$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;
+
/*
|--------------------------------------------------------------------------