From 1a409956def6bf775f14b7c2a21193835ffd5f29 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Thu, 21 Apr 2016 11:08:17 +0900 Subject: add doc for `:type` option of `#create_join_table` [ci skip] Follow up to #24221. --- .../lib/active_record/connection_adapters/abstract/schema_statements.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activerecord') 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 # [:force] # Set to true to drop the table before creating it. # Defaults to false. + # [:type] + # 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: -- cgit v1.2.3