diff options
author | suginoy <suginoyasuhiro@gmail.com> | 2017-10-28 23:38:15 +0900 |
---|---|---|
committer | suginoy <suginoyasuhiro@gmail.com> | 2017-10-29 00:27:03 +0900 |
commit | aa0865a8f07f889006a8b2ab1849aad6ab5f8fea (patch) | |
tree | 456b57cf830ec6b26b149570055fa9c22630531f /activerecord/lib/active_record/connection_adapters/column.rb | |
parent | e4eaf8faae03f31b110aee0baefcf7fb48536f5b (diff) | |
download | rails-aa0865a8f07f889006a8b2ab1849aad6ab5f8fea.tar.gz rails-aa0865a8f07f889006a8b2ab1849aad6ab5f8fea.tar.bz2 rails-aa0865a8f07f889006a8b2ab1849aad6ab5f8fea.zip |
[ci skip]Update the documentation about the primary key type
Replace the primary key type `integer` in docs with `bigint`.
ref #26266
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/column.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/column.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/column.rb b/activerecord/lib/active_record/connection_adapters/column.rb index 28d949b503..5d81de9fe1 100644 --- a/activerecord/lib/active_record/connection_adapters/column.rb +++ b/activerecord/lib/active_record/connection_adapters/column.rb @@ -11,7 +11,7 @@ module ActiveRecord # Instantiates a new column in the table. # - # +name+ is the column's name, such as <tt>supplier_id</tt> in <tt>supplier_id int</tt>. + # +name+ is the column's name, such as <tt>supplier_id</tt> in <tt>supplier_id bigint</tt>. # +default+ is the type-casted default value, such as +new+ in <tt>sales_stage varchar(20) default 'new'</tt>. # +sql_type_metadata+ is various information about the type of the column # +null+ determines if this column allows +NULL+ values. |