Subversion-Projekte lars-tiefland.ci

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
755 lars 1
<?php
2
defined('BASEPATH') OR exit('No direct script access allowed');
3
 
4
/*
5
|--------------------------------------------------------------------------
6
| Enable/Disable Migrations
7
|--------------------------------------------------------------------------
8
|
9
| Migrations are disabled by default for security reasons.
10
| You should enable migrations whenever you intend to do a schema migration
11
| and disable it back when you're done.
12
|
13
*/
14
$config['migration_enabled'] = FALSE;
15
 
16
/*
17
|--------------------------------------------------------------------------
18
| Migration Type
19
|--------------------------------------------------------------------------
20
|
21
| Migration file names may be based on a sequential identifier or on
22
| a timestamp. Options are:
23
|
24
|   'sequential' = Sequential migration naming (001_add_blog.php)
25
|   'timestamp'  = Timestamp migration naming (20121031104401_add_blog.php)
26
|                  Use timestamp format YYYYMMDDHHIISS.
27
|
28
| Note: If this configuration value is missing the Migration library
29
|       defaults to 'sequential' for backward compatibility with CI2.
30
|
31
*/
32
$config['migration_type'] = 'timestamp';
33
 
34
/*
35
|--------------------------------------------------------------------------
36
| Migrations table
37
|--------------------------------------------------------------------------
38
|
39
| This is the name of the table that will store the current migrations state.
40
| When migrations runs it will store in a database table which migration
41
| level the system is at. It then compares the migration level in this
42
| table to the $config['migration_version'] if they are not the same it
43
| will migrate up. This must be set.
44
|
45
*/
46
$config['migration_table'] = 'migrations';
47
 
48
/*
49
|--------------------------------------------------------------------------
50
| Auto Migrate To Latest
51
|--------------------------------------------------------------------------
52
|
53
| If this is set to TRUE when you load the migrations class and have
54
| $config['migration_enabled'] set to TRUE the system will auto migrate
55
| to your latest migration (whatever $config['migration_version'] is
56
| set to). This way you do not have to call migrations anywhere else
57
| in your code to have the latest migration.
58
|
59
*/
60
$config['migration_auto_latest'] = FALSE;
61
 
62
/*
63
|--------------------------------------------------------------------------
64
| Migrations version
65
|--------------------------------------------------------------------------
66
|
67
| This is used to set migration version that the file system should be on.
68
| If you run $this->migration->current() this is the version that schema will
69
| be upgraded / downgraded to.
70
|
71
*/
72
$config['migration_version'] = 0;
73
 
74
/*
75
|--------------------------------------------------------------------------
76
| Migrations Path
77
|--------------------------------------------------------------------------
78
|
79
| Path to your migrations folder.
80
| Typically, it will be within your application path.
81
| Also, writing permission is required within the migrations path.
82
|
83
*/
84
$config['migration_path'] = APPPATH.'migrations/';