blob: 41b89626f5b3d8a30c7b2ee263eba465812f12cb [file] [log] [blame]
Kyle Farrisad17f4b2011-10-14 15:43:25 -04001<<<<<<< HEAD:application/config/migration.php
Kyle Farrisdb46d022011-10-14 15:17:09 -04002<?php defined('BASEPATH') OR exit('No direct script access allowed');
3/*
4|--------------------------------------------------------------------------
5| Enable/Disable Migrations
6|--------------------------------------------------------------------------
7|
8| Migrations are disabled by default for security reasons.
9| You should enable migrations whenever you intend to do a schema migration
10| and disable it back when you're done.
11|
12*/
13$config['migration_enabled'] = FALSE;
14
15
16/*
17|--------------------------------------------------------------------------
18| Migrations version
19|--------------------------------------------------------------------------
20|
21| This is used to set migration version that the file system should be on.
22| If you run $this->migration->latest() this is the version that schema will
23| be upgraded / downgraded to.
24|
25*/
26$config['migration_version'] = 0;
27
28
29/*
30|--------------------------------------------------------------------------
31| Migrations Path
32|--------------------------------------------------------------------------
33|
34| Path to your migrations folder.
35| Typically, it will be within your application path.
36| Also, writing permission is required within the migrations path.
37|
38*/
39$config['migration_path'] = APPPATH . 'migrations/';
40
41
42/* End of file migration.php */
Kyle Farrisad17f4b2011-10-14 15:43:25 -040043=======
44<?php defined('BASEPATH') OR exit('No direct script access allowed');
45/*
46|--------------------------------------------------------------------------
47| Enable/Disable Migrations
48|--------------------------------------------------------------------------
49|
50| Migrations are disabled by default for security reasons.
51| You should enable migrations whenever you intend to do a schema migration
52| and disable it back when you're done.
53|
54*/
55$config['migration_enabled'] = FALSE;
56
57/*
58|--------------------------------------------------------------------------
59| Migrations table
60|--------------------------------------------------------------------------
61|
62| This is the name of the table that will store the current migrations state.
63| When migrations runs it will store in a database table which migration
64| level the system is at. It then compares the migration level in the this
65| table to the $config['migration_version'] if they are not the same it
66| will migrate up. This must be set.
67|
68*/
69$config['migration_table'] = 'migrations';
70
71
72/*
73|--------------------------------------------------------------------------
74| Auto Migrate To Latest
75|--------------------------------------------------------------------------
76|
77| If this is set to TRUE when you load the migrations class and have
78| $config['migration_enabled'] set to TRUE the system will auto migrate
79| to your latest migration (whatever $config['migration_version'] is
80| set to). This way you do not have to call migrations anywhere else
81| in your code to have the latest migration.
82|
83*/
84$config['migration_auto_latest'] = FALSE;
85
86
87/*
88|--------------------------------------------------------------------------
89| Migrations version
90|--------------------------------------------------------------------------
91|
92| This is used to set migration version that the file system should be on.
93| If you run $this->migration->latest() this is the version that schema will
94| be upgraded / downgraded to.
95|
96*/
97$config['migration_version'] = 0;
98
99
100/*
101|--------------------------------------------------------------------------
102| Migrations Path
103|--------------------------------------------------------------------------
104|
105| Path to your migrations folder.
106| Typically, it will be within your application path.
107| Also, writing permission is required within the migrations path.
108|
109*/
110$config['migration_path'] = APPPATH . 'migrations/';
111
112
113/* End of file migration.php */
114>>>>>>> a2125a5d830fd390b4cf35f77e9bb0558cfa2dd7:application/config/migration.php
Phil Sturgeon96bd33b2011-05-04 01:30:36 +0100115/* Location: ./application/config/migration.php */