diff options
author | Xavier Noria <fxn@hashref.com> | 2014-02-06 15:03:20 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2014-02-06 15:03:20 +0100 |
commit | c0fb8d0b9c4d55770f7ce1a9cb62e4f2a75ca3ee (patch) | |
tree | 66bfa9ed07cc0ef7e82552eebac49a5b5d8838b5 /guides/source | |
parent | 7f648bc70e76b7a386a41f882ddd97105334f590 (diff) | |
parent | 8806768e9f1a2648085f7826d9a0032457182bdb (diff) | |
download | rails-c0fb8d0b9c4d55770f7ce1a9cb62e4f2a75ca3ee.tar.gz rails-c0fb8d0b9c4d55770f7ce1a9cb62e4f2a75ca3ee.tar.bz2 rails-c0fb8d0b9c4d55770f7ce1a9cb62e4f2a75ca3ee.zip |
Merge branch 'dump-schema-after-migration-flag' of git://github.com/emilsoman/rails into emilsoman-dump-schema-after-migration-flag
Conflicts:
activerecord/CHANGELOG.md
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/configuring.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 4728bdcb27..fa136eda1e 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -292,6 +292,12 @@ All these configuration options are delegated to the `I18n` library. * `config.active_record.maintain_test_schema` is a boolean value which controls whether Active Record should try to keep your test database schema up-to-date with `db/schema.rb` (or `db/structure.sql`) when you run your tests. The default is true. +* `config.active_record.dump_schema_after_migration` is a flag which + controls whether or not schema dump should happen (`db/schema.rb` or + `db/structure.sql`) when you run migrations. This is set to false in + `config/environments/production.rb` which is generated by Rails. The + default value is true if this configuration is not set. + The MySQL adapter adds one additional configuration option: * `ActiveRecord::ConnectionAdapters::MysqlAdapter.emulate_booleans` controls whether Active Record will consider all `tinyint(1)` columns in a MySQL database to be booleans and is true by default. |