Created
August 13, 2013 01:01
-
-
Save zachflower/6216880 to your computer and use it in GitHub Desktop.
CodeIgniter Migrations Config File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('BASEPATH') OR exit('No direct script access allowed'); | |
/* | |
|-------------------------------------------------------------------------- | |
| Enable/Disable Migrations | |
|-------------------------------------------------------------------------- | |
| | |
| Migrations are disabled by default but should be enabled | |
| whenever you intend to do a schema migration. | |
| | |
*/ | |
$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'] = 1; | |
/* | |
|-------------------------------------------------------------------------- | |
| 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 */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment