blob: aca052d0ca34d5dde1ae9becc7668cbdf33bfded [file] [log] [blame]
Phil Sturgeon9758d842011-02-07 20:39:00 +00001<?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*/
Phil Sturgeon62f04a62011-08-10 08:24:04 -060012$config['migration_enabled'] = FALSE;
Phil Sturgeon9758d842011-02-07 20:39:00 +000013
Cloudmanic Labs, LLC539dcb02011-09-18 12:08:56 -070014/*
15|--------------------------------------------------------------------------
16| Migrations table
17|--------------------------------------------------------------------------
18|
19| This is the name of the table that will store the current migrations state.
20| When migrations runs it will store in a database table which migration
21| level the system is at. It then compares the migration level in the this
22| table to the $config['migration_version'] if they are not the same it
23| will migrate up. This must be set.
24|
25*/
26$config['migration_table'] = 'migrations';
Phil Sturgeon9758d842011-02-07 20:39:00 +000027
28/*
29|--------------------------------------------------------------------------
30| Migrations version
31|--------------------------------------------------------------------------
32|
33| This is used to set migration version that the file system should be on.
34| If you run $this->migration->latest() this is the version that schema will
35| be upgraded / downgraded to.
36|
37*/
Phil Sturgeon96bd33b2011-05-04 01:30:36 +010038$config['migration_version'] = 0;
Phil Sturgeon9758d842011-02-07 20:39:00 +000039
40
41/*
42|--------------------------------------------------------------------------
43| Migrations Path
44|--------------------------------------------------------------------------
45|
46| Path to your migrations folder.
47| Typically, it will be within your application path.
48| Also, writing permission is required within the migrations path.
49|
50*/
51$config['migration_path'] = APPPATH . 'migrations/';
Phil Sturgeon96bd33b2011-05-04 01:30:36 +010052
53
54/* End of file migration.php */
55/* Location: ./application/config/migration.php */