diff options
author | Ryan Wallace <rywall@gmail.com> | 2015-03-15 16:03:56 -0700 |
---|---|---|
committer | Ryan Wallace <rywall@gmail.com> | 2015-03-17 10:43:26 -0700 |
commit | 7ab36f4532c891e8a4bdaee8924a197311ff25ff (patch) | |
tree | be5515f76dd555cf9685ef1f2d390aa9a9aeed7c /guides | |
parent | 80f66d405ce0e7c9be1ddf599104b9bcfe6c0e88 (diff) | |
download | rails-7ab36f4532c891e8a4bdaee8924a197311ff25ff.tar.gz rails-7ab36f4532c891e8a4bdaee8924a197311ff25ff.tar.bz2 rails-7ab36f4532c891e8a4bdaee8924a197311ff25ff.zip |
Add config.active_record.dump_schemas.
Fixes db:structure:dump when using schema_search_path and PostgreSQL
extensions.
Closes #17157.
Diffstat (limited to 'guides')
-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: |