Kyle Farris | db46d02 | 2011-10-14 15:17:09 -0400 | [diff] [blame^] | 1 | <?php defined('BASEPATH') OR exit('No direct script access allowed'); |
| 2 | /* |
| 3 | |-------------------------------------------------------------------------- |
| 4 | | Enable/Disable Migrations |
| 5 | |-------------------------------------------------------------------------- |
| 6 | | |
| 7 | | Migrations are disabled by default for security reasons. |
| 8 | | You should enable migrations whenever you intend to do a schema migration |
| 9 | | and disable it back when you're done. |
| 10 | | |
| 11 | */ |
| 12 | $config['migration_enabled'] = FALSE; |
| 13 | |
| 14 | |
| 15 | /* |
| 16 | |-------------------------------------------------------------------------- |
| 17 | | Migrations version |
| 18 | |-------------------------------------------------------------------------- |
| 19 | | |
| 20 | | This is used to set migration version that the file system should be on. |
| 21 | | If you run $this->migration->latest() this is the version that schema will |
| 22 | | be upgraded / downgraded to. |
| 23 | | |
| 24 | */ |
| 25 | $config['migration_version'] = 0; |
| 26 | |
| 27 | |
| 28 | /* |
| 29 | |-------------------------------------------------------------------------- |
| 30 | | Migrations Path |
| 31 | |-------------------------------------------------------------------------- |
| 32 | | |
| 33 | | Path to your migrations folder. |
| 34 | | Typically, it will be within your application path. |
| 35 | | Also, writing permission is required within the migrations path. |
| 36 | | |
| 37 | */ |
| 38 | $config['migration_path'] = APPPATH . 'migrations/'; |
| 39 | |
| 40 | |
| 41 | /* End of file migration.php */ |
Phil Sturgeon | 96bd33b | 2011-05-04 01:30:36 +0100 | [diff] [blame] | 42 | /* Location: ./application/config/migration.php */ |