From fd66ccb01658b7cc7654e42233fd760b4fc788ff Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 17 Nov 2005 20:48:10 +0000 Subject: Document :force option to create_table. References #2921. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/CHANGELOG | 2 ++ .../active_record/connection_adapters/abstract/schema_statements.rb | 3 +++ 2 files changed, 5 insertions(+) (limited to 'activerecord') diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 9897ab237f..1196065110 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Document :force option to create_table. #2921 [Blair Zajac ] + * Don't add the same conditions twice in has_one finder sql. #2916 [Jeremy Evans] * Rename Version constant to VERSION. #2802 [Marcel Molina Jr.] 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 d1e6dcf025..09d0a80ff2 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -43,6 +43,9 @@ module ActiveRecord # Any extra options you want appended to the table definition. # [:temporary] # Make a temporary table. + # [:force] + # Set to true or false to drop the table before creating it. + # Defaults to false. # # ===== Examples # ====== Add a backend specific option to the generated SQL (MySQL) -- cgit v1.2.3