summaryrefslogtreecommitdiffstats
path: root/application/config/migration.php
diff options
context:
space:
mode:
authorEsen Sagynov <kadishmal@gmail.com>2011-08-12 04:47:46 +0200
committerEsen Sagynov <kadishmal@gmail.com>2011-08-12 04:47:46 +0200
commit34c8f9df46ffebae9d9cb6251d146fdc8e7ef422 (patch)
tree607c9131c9d23b0b20563ea225a3a0287870e6a0 /application/config/migration.php
parent2ab2b1e3201a1eca2954ca463df744d5cd2e46cd (diff)
Added back the /application/config/migration.php and updated the /applciation/config/database.php file which was incorrectly replaced in previous commit.
Diffstat (limited to 'application/config/migration.php')
-rw-r--r--application/config/migration.php42
1 files changed, 42 insertions, 0 deletions
diff --git a/application/config/migration.php b/application/config/migration.php
new file mode 100644
index 000000000..509fd90ab
--- /dev/null
+++ b/application/config/migration.php
@@ -0,0 +1,42 @@
+<?php defined('BASEPATH') OR exit('No direct script access allowed');
+/*
+|--------------------------------------------------------------------------
+| Enable/Disable Migrations
+|--------------------------------------------------------------------------
+|
+| Migrations are disabled by default for security reasons.
+| You should enable migrations whenever you intend to do a schema migration
+| and disable it back when you're done.
+|
+*/
+$config['migration_enabled'] = TRUE;
+
+
+/*
+|--------------------------------------------------------------------------
+| 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
+| be upgraded / downgraded to.
+|
+*/
+$config['migration_version'] = 0;
+
+
+/*
+|--------------------------------------------------------------------------
+| Migrations Path
+|--------------------------------------------------------------------------
+|
+| Path to your migrations folder.
+| Typically, it will be within your application path.
+| Also, writing permission is required within the migrations path.
+|
+*/
+$config['migration_path'] = APPPATH . 'migrations/';
+
+
+/* End of file migration.php */
+/* Location: ./application/config/migration.php */ \ No newline at end of file