diff options
Diffstat (limited to 'application/config/migration.php')
-rw-r--r-- | application/config/migration.php | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/application/config/migration.php b/application/config/migration.php index 88e398243..3ea3ef93c 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -39,12 +39,30 @@ $config['migration_enabled'] = FALSE; /* |-------------------------------------------------------------------------- +| Migration Type +|-------------------------------------------------------------------------- +| +| Migration file names may be based on a sequential identifier or on +| a timestamp. Options are: +| +| 'sequential' = Default migration naming (001_add_blog.php) +| 'timestamp' = Timestamp migration naming (20121031104401_add_blog.php) +| Use timestamp format YYYYMMDDHHIISS. +| +| If this configuration value is missing the Migration library defaults +| to 'sequential' for backward compatibility. +| +*/ +$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 the this +| 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. | |