From 7ab36f4532c891e8a4bdaee8924a197311ff25ff Mon Sep 17 00:00:00 2001 From: Ryan Wallace Date: Sun, 15 Mar 2015 16:03:56 -0700 Subject: Add config.active_record.dump_schemas. Fixes db:structure:dump when using schema_search_path and PostgreSQL extensions. Closes #17157. --- guides/source/configuring.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'guides') 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: -- cgit v1.2.3