aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorप्रथमेश Sonpatki <csonpatki@gmail.com>2016-04-21 07:45:53 +0530
committerप्रथमेश Sonpatki <csonpatki@gmail.com>2016-04-21 07:45:53 +0530
commit41a8b8df35d32279ec608e96be4200ed9d51689c (patch)
tree4b25f3d352c4ce669b7b9f6f5a51bf1f797dbd06 /activerecord/lib
parent778ab950084ea00f6ce0c731157e8e5cc22d1bf7 (diff)
parent1a409956def6bf775f14b7c2a21193835ffd5f29 (diff)
downloadrails-41a8b8df35d32279ec608e96be4200ed9d51689c.tar.gz
rails-41a8b8df35d32279ec608e96be4200ed9d51689c.tar.bz2
rails-41a8b8df35d32279ec608e96be4200ed9d51689c.zip
Merge pull request #24667 from y-yagi/add_doc_for_type_option
add doc for `:type` option of `#create_join_table` [ci skip]
Diffstat (limited to 'activerecord/lib')
-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: