diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-13 02:08:22 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-13 02:08:22 +0100 |
commit | 5d5bc05b389a76d604ff24f1326da87343a2ce7a (patch) | |
tree | e6c6d62f9969cc86e7adf1c3e874f8a770d2508e /application/config/migration.php | |
parent | 98e46cf96447a2a6448d8dc984948a8694dbf747 (diff) | |
parent | 93f989bcc3e7b32a3e95e7dfca8f8bd9f544b4f8 (diff) |
Merge pull request #1949 from compwright/develop
Added support for timestamp-based migrations
Diffstat (limited to 'application/config/migration.php')
-rw-r--r-- | application/config/migration.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/application/config/migration.php b/application/config/migration.php index 7645ade7c..3ea3ef93c 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -39,6 +39,24 @@ $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 |-------------------------------------------------------------------------- | |