Rev | Line | |
---|
[780] | 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 but should be enabled |
---|
| 8 | | whenever you intend to do a schema migration. |
---|
| 9 | | |
---|
| 10 | */ |
---|
| 11 | $config['migration_enabled'] = FALSE; |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | /* |
---|
| 15 | |-------------------------------------------------------------------------- |
---|
| 16 | | Migrations version |
---|
| 17 | |-------------------------------------------------------------------------- |
---|
| 18 | | |
---|
| 19 | | This is used to set migration version that the file system should be on. |
---|
| 20 | | If you run $this->migration->latest() this is the version that schema will |
---|
| 21 | | be upgraded / downgraded to. |
---|
| 22 | | |
---|
| 23 | */ |
---|
| 24 | $config['migration_version'] = 0; |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | /* |
---|
| 28 | |-------------------------------------------------------------------------- |
---|
| 29 | | Migrations Path |
---|
| 30 | |-------------------------------------------------------------------------- |
---|
| 31 | | |
---|
| 32 | | Path to your migrations folder. |
---|
| 33 | | Typically, it will be within your application path. |
---|
| 34 | | Also, writing permission is required within the migrations path. |
---|
| 35 | | |
---|
| 36 | */ |
---|
| 37 | $config['migration_path'] = APPPATH . 'migrations/'; |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | /* End of file migration.php */ |
---|
| 41 | /* Location: ./application/config/migration.php */ |
---|
Note: See
TracBrowser
for help on using the repository browser.