aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-04-21 11:08:17 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-04-21 11:09:53 +0900
commit1a409956def6bf775f14b7c2a21193835ffd5f29 (patch)
tree4b25f3d352c4ce669b7b9f6f5a51bf1f797dbd06 /activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
parent778ab950084ea00f6ce0c731157e8e5cc22d1bf7 (diff)
downloadrails-1a409956def6bf775f14b7c2a21193835ffd5f29.tar.gz
rails-1a409956def6bf775f14b7c2a21193835ffd5f29.tar.bz2
rails-1a409956def6bf775f14b7c2a21193835ffd5f29.zip
add doc for `:type` option of `#create_join_table` [ci skip]
Follow up to #24221.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb2
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 104ca54793..342b01b3a5 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -317,6 +317,8 @@ module ActiveRecord
# [<tt>:force</tt>]
# Set to true to drop the table before creating it.
# Defaults to false.
+ # [<tt>:type</tt>]
+ # The column type of primary key. Defaults to +:integer+.
#
# Note that #create_join_table does not create any indices by default; you can use
# its block form to do so yourself: