<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Enable/Disable Migrations |-------------------------------------------------------------------------- | | Migrations are disabled by default for security reasons. | You should enable migrations whenever you intend to do a schema migration | and disable it back when you're done. | */ $config['migration_enabled'] = FALSE; /* |-------------------------------------------------------------------------- | Migration Type |-------------------------------------------------------------------------- | | Migration file names may be based on a sequential identifier or on | a timestamp. Options are: | | 'sequential' = Sequential migration naming (001_add_blog.php) | 'timestamp' = Timestamp migration naming (20121031104401_add_blog.php) | Use timestamp format YYYYMMDDHHIISS. | | Note: If this configuration value is missing the Migration library | defaults to 'sequential' for backward compatibility with CI2. | */ $config['migration_type'] = 'timestamp'; /* |-------------------------------------------------------------------------- | Migrations table |-------------------------------------------------------------------------- | | This is the name of the table that will store the current migrations state. | When migrations runs it will store in a database table which migration | level the system is at. It then compares the migration level in this | table to the $config['migration_version'] if they are not the same it | will migrate up. This must be set. | */ $config['migration_table'] = 'migrations'; /* |-------------------------------------------------------------------------- | Auto Migrate To Latest |-------------------------------------------------------------------------- | | If this is set to TRUE when you load the migrations class and have | $config['migration_enabled'] set to TRUE the system will auto migrate | to your latest migration (whatever $config['migration_version'] is | set to). This way you do not have to call migrations anywhere else | in your code to have the latest migration. | */ $config['migration_auto_latest'] = FALSE; /* |-------------------------------------------------------------------------- | Migrations version |-------------------------------------------------------------------------- | | This is used to set migration version that the file system should be on. | If you run $this->migration->current() this is the version that schema will | be upgraded / downgraded to. | */ $config['migration_version'] = 0; /* |-------------------------------------------------------------------------- | 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/';
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
autoload.php | File | 4.08 KB | 0777 |
|
config.php | File | 20.23 KB | 0777 |
|
constants.php | File | 4.22 KB | 0777 |
|
custom.php | File | 87.59 KB | 0777 |
|
database.php | File | 6 KB | 0777 |
|
doctypes.php | File | 2.38 KB | 0777 |
|
foreign_chars.php | File | 2.92 KB | 0777 |
|
hooks.php | File | 417 B | 0777 |
|
index.html | File | 131 B | 0777 |
|
memcached.php | File | 498 B | 0777 |
|
migration.php | File | 2.96 KB | 0777 |
|
mimes.php | File | 9.82 KB | 0777 |
|
profiler.php | File | 477 B | 0777 |
|
routes.php | File | 3.97 KB | 0777 |
|
smileys.php | File | 3.11 KB | 0777 |
|
user_agents.php | File | 5.99 KB | 0777 |
|