summaryrefslogtreecommitdiffstats
path: root/application/config
diff options
context:
space:
mode:
authorCloudmanic Labs, LLC <github@cloudmanic.com>2011-09-18 21:08:56 +0200
committerCloudmanic Labs, LLC <github@cloudmanic.com>2011-09-18 21:08:56 +0200
commit539dcb0b2968a2d83c16b42a20252011152f2e65 (patch)
treeeb7e685698ba4eeb3ac70f876f2f1ed72dc0e561 /application/config
parent4ff4896dbc6bd24efc3d005df90bdb3667255f09 (diff)
Added support to select the name of the database table you are going to use in Migrations
Diffstat (limited to 'application/config')
-rw-r--r--application/config/migration.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/application/config/migration.php b/application/config/migration.php
index dba870010..aca052d0c 100644
--- a/application/config/migration.php
+++ b/application/config/migration.php
@@ -11,6 +11,19 @@
*/
$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';
/*
|--------------------------------------------------------------------------