Skip to content

Commit

Permalink
Merge pull request rails#30656 from yskkin/add_column_doc
Browse files Browse the repository at this point in the history
Add :comment option for add_column [ci skip]
  • Loading branch information
kamipo committed Sep 19, 2017
2 parents 18cfbec + 7bab6b8 commit e0484a3
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -522,6 +522,8 @@ def drop_table(table_name, options = {})
# 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
Expand Down

0 comments on commit e0484a3

Please sign in to comment.