blob: f568574016d4ed35b5fd7d5bfaf288890e5ada45 [file] [log] [blame]
Derek Jonesf4a4bd82011-10-20 12:18:42 -05001<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2/**
3 * CodeIgniter
4 *
5 * An open source application development framework for PHP 5.1.6 or newer
6 *
7 * NOTICE OF LICENSE
Eric Barnesdd81c432011-11-16 11:07:35 -05008 *
Derek Jonesf4a4bd82011-10-20 12:18:42 -05009 * Licensed under the Academic Free License version 3.0
Eric Barnesdd81c432011-11-16 11:07:35 -050010 *
Derek Jones61df9062011-10-21 09:55:40 -050011 * This source file is subject to the Academic Free License (AFL 3.0) that is
Derek Jonesf4a4bd82011-10-20 12:18:42 -050012 * bundled with this package in the files license_afl.txt / license_afl.rst.
13 * It is also available through the world wide web at this URL:
14 * http://opensource.org/licenses/AFL-3.0
15 * If you did not receive a copy of the license and are unable to obtain it
16 * through the world wide web, please send an email to
17 * licensing@ellislab.com so we can send you a copy immediately.
18 *
19 * @package CodeIgniter
20 * @author EllisLab Dev Team
21 * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc. (http://ellislab.com/)
22 * @license http://opensource.org/licenses/AFL-3.0 Academic Free License (AFL 3.0)
23 * @link http://codeigniter.com
24 * @since Version 1.0
25 * @filesource
26 */
27
Kyle Farrisad17f4b2011-10-14 15:43:25 -040028/*
29|--------------------------------------------------------------------------
30| Enable/Disable Migrations
31|--------------------------------------------------------------------------
32|
33| Migrations are disabled by default for security reasons.
34| You should enable migrations whenever you intend to do a schema migration
35| and disable it back when you're done.
36|
37*/
38$config['migration_enabled'] = FALSE;
39
40/*
41|--------------------------------------------------------------------------
42| Migrations table
43|--------------------------------------------------------------------------
44|
45| This is the name of the table that will store the current migrations state.
Eric Barnesdd81c432011-11-16 11:07:35 -050046| When migrations runs it will store in a database table which migration
Kyle Farrisad17f4b2011-10-14 15:43:25 -040047| level the system is at. It then compares the migration level in the this
48| table to the $config['migration_version'] if they are not the same it
49| will migrate up. This must be set.
50|
51*/
52$config['migration_table'] = 'migrations';
53
Kyle Farrisad17f4b2011-10-14 15:43:25 -040054/*
55|--------------------------------------------------------------------------
56| Auto Migrate To Latest
57|--------------------------------------------------------------------------
58|
Eric Barnesdd81c432011-11-16 11:07:35 -050059| If this is set to TRUE when you load the migrations class and have
Kyle Farrisad17f4b2011-10-14 15:43:25 -040060| $config['migration_enabled'] set to TRUE the system will auto migrate
61| to your latest migration (whatever $config['migration_version'] is
62| set to). This way you do not have to call migrations anywhere else
63| in your code to have the latest migration.
64|
65*/
66$config['migration_auto_latest'] = FALSE;
67
Kyle Farrisad17f4b2011-10-14 15:43:25 -040068/*
69|--------------------------------------------------------------------------
70| Migrations version
71|--------------------------------------------------------------------------
72|
73| This is used to set migration version that the file system should be on.
Eric Barnesdd81c432011-11-16 11:07:35 -050074| If you run $this->migration->current() this is the version that schema will
Kyle Farrisad17f4b2011-10-14 15:43:25 -040075| be upgraded / downgraded to.
76|
77*/
78$config['migration_version'] = 0;
79
Kyle Farrisad17f4b2011-10-14 15:43:25 -040080/*
81|--------------------------------------------------------------------------
82| Migrations Path
83|--------------------------------------------------------------------------
84|
85| Path to your migrations folder.
86| Typically, it will be within your application path.
87| Also, writing permission is required within the migrations path.
88|
89*/
90$config['migration_path'] = APPPATH . 'migrations/';
91
92
93/* End of file migration.php */
Phil Sturgeon96bd33b2011-05-04 01:30:36 +010094/* Location: ./application/config/migration.php */