diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-02-08 10:52:58 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-02-08 10:52:58 +0530 |
commit | d3150c81061ff4e6d052ac1ff2dcd62a1daca28f (patch) | |
tree | cfded4a967e1d817776c29d640e69df2aa06adba | |
parent | e8580c63db9e5a745293593d17199b2a59246344 (diff) | |
parent | 40fd56052b03919b7ba5f07415e215a2b47df95f (diff) | |
download | rails-d3150c81061ff4e6d052ac1ff2dcd62a1daca28f.tar.gz rails-d3150c81061ff4e6d052ac1ff2dcd62a1daca28f.tar.bz2 rails-d3150c81061ff4e6d052ac1ff2dcd62a1daca28f.zip |
Merge pull request #23558 from kamipo/add_numeric_type_in_doc
Add numeric type in the doc [ci skip]
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index 983c4340c6..f0f855963a 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -459,7 +459,7 @@ module ActiveRecord # The +type+ parameter is normally one of the migrations native types, # which is one of the following: # <tt>:primary_key</tt>, <tt>:string</tt>, <tt>:text</tt>, - # <tt>:integer</tt>, <tt>:bigint</tt>, <tt>:float</tt>, <tt>:decimal</tt>, + # <tt>:integer</tt>, <tt>:bigint</tt>, <tt>:float</tt>, <tt>:decimal</tt>, <tt>:numeric</tt>, # <tt>:datetime</tt>, <tt>:time</tt>, <tt>:date</tt>, # <tt>:binary</tt>, <tt>:boolean</tt>. # @@ -477,9 +477,9 @@ module ActiveRecord # Allows or disallows +NULL+ values in the column. This option could # have been named <tt>:null_allowed</tt>. # * <tt>:precision</tt> - - # Specifies the precision for a <tt>:decimal</tt> column. + # Specifies the precision for the <tt>:decimal</tt> and <tt>:numeric</tt> columns. # * <tt>:scale</tt> - - # Specifies the scale for a <tt>:decimal</tt> column. + # Specifies the scale for the <tt>:decimal</tt> and <tt>:numeric</tt> columns. # # Note: The precision is the total number of significant digits # and the scale is the number of digits that can be stored following |