diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-03-17 19:38:20 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-03-17 19:38:20 +0100 |
commit | ec850899d5a5de07ad48806cd5862b913c279929 (patch) | |
tree | be5515f76dd555cf9685ef1f2d390aa9a9aeed7c /guides/source/configuring.md | |
parent | 80f66d405ce0e7c9be1ddf599104b9bcfe6c0e88 (diff) | |
parent | 7ab36f4532c891e8a4bdaee8924a197311ff25ff (diff) | |
download | rails-ec850899d5a5de07ad48806cd5862b913c279929.tar.gz rails-ec850899d5a5de07ad48806cd5862b913c279929.tar.bz2 rails-ec850899d5a5de07ad48806cd5862b913c279929.zip |
Merge pull request #19347 from rywall/dump-schemas-config
Add config.active_record.dump_schemas.
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r-- | guides/source/configuring.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 4ebd634cd6..67285030a9 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -302,6 +302,11 @@ All these configuration options are delegated to the `I18n` library. `config/environments/production.rb` which is generated by Rails. The default value is true if this configuration is not set. +* `config.active_record.dump_schemas` controls which database schemas will be dumped when calling db:structure:dump. + The options are `:schema_search_path` (the default) which dumps any schemas listed in schema_search_path, + `:all` which always dumps all schemas regardless of the schema_search_path, + or a string of comma separated schemas. + * `config.active_record.belongs_to_required_by_default` is a boolean value and controls whether `belongs_to` association is required by default. The MySQL adapter adds one additional configuration option: |