diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-04-21 11:08:17 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-04-21 11:09:53 +0900 |
commit | 1a409956def6bf775f14b7c2a21193835ffd5f29 (patch) | |
tree | 4b25f3d352c4ce669b7b9f6f5a51bf1f797dbd06 /activerecord | |
parent | 778ab950084ea00f6ce0c731157e8e5cc22d1bf7 (diff) | |
download | rails-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')
-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 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: |