diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-08-19 01:28:39 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-08-19 01:28:39 -0300 |
commit | e87158f16b2a85beed690620a5f5e6d57ee505e3 (patch) | |
tree | e6641f3ca01784aaafe012d5be1e260b17a9704e /guides/source | |
parent | 15175fdad7e2203e3d20b197f7b9aeb14c29d4d2 (diff) | |
parent | 84cc8fd5d8fa15e868e4873a5f83e5c2b0c2fee1 (diff) | |
download | rails-e87158f16b2a85beed690620a5f5e6d57ee505e3.tar.gz rails-e87158f16b2a85beed690620a5f5e6d57ee505e3.tar.bz2 rails-e87158f16b2a85beed690620a5f5e6d57ee505e3.zip |
Merge pull request #25675 from TimPetricola/schema-no-standardized-column-widths
Option not to line up column attributes in schema.rb
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/configuring.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 7239105b29..3e27dfafa0 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -368,9 +368,11 @@ The MySQL adapter adds one additional configuration option: * `ActiveRecord::ConnectionAdapters::Mysql2Adapter.emulate_booleans` controls whether Active Record will consider all `tinyint(1)` columns as booleans. Defaults to `true`. -The schema dumper adds one additional configuration option: +The schema dumper adds additional configuration options: * `ActiveRecord::SchemaDumper.ignore_tables` accepts an array of tables that should _not_ be included in any generated schema file. This setting is ignored unless `config.active_record.schema_format == :ruby`. +* `ActiveRecord::SchemaDumper.standardized_argument_widths` configures whether colum arguments should be lined up or not in dump. By default this is `true`. This setting is ignored unless `config.active_record.schema_format == :ruby`. +* `ActiveRecord::SchemaDumper.standardized_type_widths` configures whether colum types should be lined up or not in dump. By default this is `true`. This setting is ignored unless `config.active_record.schema_format == :ruby`. ### Configuring Action Controller |