diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-20 06:45:25 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-20 06:45:25 +0900 |
commit | e0484a3730194ccafa2e86e5d663116fc2febf02 (patch) | |
tree | 9a0177a1d52ba7781b855f63633e955a7255801b | |
parent | 18cfbeca855a1dd7c9f4ec5686b2f55423c240a9 (diff) | |
parent | 7bab6b8cd950be79c040377b43b6ed6030fb98f4 (diff) | |
download | rails-e0484a3730194ccafa2e86e5d663116fc2febf02.tar.gz rails-e0484a3730194ccafa2e86e5d663116fc2febf02.tar.bz2 rails-e0484a3730194ccafa2e86e5d663116fc2febf02.zip |
Merge pull request #30656 from yskkin/add_column_doc
Add :comment option for add_column [ci skip]
-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 |