diff options
author | Tim Petricola <tim.petricola@gmail.com> | 2016-07-01 11:24:12 +0200 |
---|---|---|
committer | Tim Petricola <tim.petricola@gmail.com> | 2016-08-17 10:09:34 +0200 |
commit | dde3bdf214e7376cb2fccf0068da340efa06ec28 (patch) | |
tree | d7854016d24daf32ce36074a21854ecc89127388 /guides/source | |
parent | 6eee67318483c64bd864dc845550f27d45fa984c (diff) | |
download | rails-dde3bdf214e7376cb2fccf0068da340efa06ec28.tar.gz rails-dde3bdf214e7376cb2fccf0068da340efa06ec28.tar.bz2 rails-dde3bdf214e7376cb2fccf0068da340efa06ec28.zip |
Option not to line up column types and 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 |