diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-05-04 02:36:37 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-05-04 02:36:37 +0200 |
commit | 5ed585bb93bd93fadf3b51bc2ccc26433015d1d4 (patch) | |
tree | 97f3908ba6050c8377cb1b6527808f473c244a70 /application | |
parent | 05fa61144667c85b0463f7e8baa6af00aa195dc6 (diff) | |
parent | 96bd33b2edc1b0e6a04cb8e3bcf97e8c7b3adf3e (diff) |
Fixed conflict with migrations merge.
Diffstat (limited to 'application')
-rw-r--r-- | application/config/migration.php | 42 |
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 |