mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #30656 from yskkin/add_column_doc
Add :comment option for add_column [ci skip]
This commit is contained in:
commit
e0484a3730
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue