diff options
author | Yoshiyuki Kinjo <yskkin@gmail.com> | 2017-09-20 00:09:17 +0900 |
---|---|---|
committer | Yoshiyuki Kinjo <yskkin@gmail.com> | 2017-09-20 00:09:17 +0900 |
commit | 7bab6b8cd950be79c040377b43b6ed6030fb98f4 (patch) | |
tree | 66cc86208f1f5b2938ce56eddf47f69185bedc69 /activerecord | |
parent | bf206dc2fc66f844c561329ca2fd9c0418d3ff90 (diff) | |
download | rails-7bab6b8cd950be79c040377b43b6ed6030fb98f4.tar.gz rails-7bab6b8cd950be79c040377b43b6ed6030fb98f4.tar.bz2 rails-7bab6b8cd950be79c040377b43b6ed6030fb98f4.zip |
Add :comment option for add_column [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 2 |
1 files changed, 2 insertions, 0 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 f57c7a5d4d..c9607df28c 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -522,6 +522,8 @@ module ActiveRecord # Specifies the precision for the <tt>:decimal</tt> and <tt>:numeric</tt> columns. # * <tt>:scale</tt> - # Specifies the scale for the <tt>:decimal</tt> and <tt>:numeric</tt> columns. + # * <tt>:comment</tt> - + # Specifies the comment for the column. This option is ignored by some backends. # # Note: The precision is the total number of significant digits, # and the scale is the number of digits that can be stored following |